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

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

Merge "drivers: usb: mbim: mark cable disconnected when no remote wakeup"

parents a57ec015 22df3721
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1484,6 +1484,7 @@ static void mbim_suspend(struct usb_function *f)
		pr_debug("in_ep_desc_backup = %p, out_ep_desc_backup = %p",
			mbim->in_ep_desc_backup, mbim->out_ep_desc_backup);

		atomic_set(&mbim->online, 0);
		mbim_bam_disconnect(mbim);
	}
}
@@ -1529,6 +1530,7 @@ static void mbim_resume(struct usb_function *f)
		pr_debug("in_ep_desc_backup = %p, out_ep_desc_backup = %p",
			mbim->in_ep_desc_backup, mbim->out_ep_desc_backup);

		atomic_set(&mbim->online, 1);
		mbim_bam_connect(mbim);
	}
}