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

Commit 5272903b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_mbim: Fix extra decrement of notify_count on resume"

parents 14ace4d4 f92af786
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -707,6 +707,8 @@ static void mbim_do_notify(struct f_mbim *mbim)
				req, GFP_ATOMIC);
		spin_lock(&mbim->lock);
		if (status) {
			/* ignore if request already queued before bus_resume */
			if (status != -EBUSY)
				atomic_dec(&mbim->not_port.notify_count);
			pr_err("Queue notify request failed, err: %d\n",
					status);