Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a69e325 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qdss_bridge: Check if opened is enable in usb_notifier"

parents afa6aff2 d9d70fb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ static void usb_notifier(void *priv, unsigned int event,
	struct qdss_bridge_drvdata *drvdata = priv;

	if (!drvdata || drvdata->mode != MHI_TRANSFER_TYPE_USB
			|| drvdata->opened == DISABLE) {
			|| drvdata->opened != ENABLE) {
		pr_err_ratelimited("%s can't be called in invalid status.\n",
				__func__);
		return;