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

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

Merge "usb: dwc3: Notify gadget driver upon vbus disconnect"

parents 5c941b69 a0a58c28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1957,7 +1957,7 @@ static int dwc3_gadget_vbus_session(struct usb_gadget *_gadget, int is_active)
	 * Clearing run/stop bit might occur before disconnect event is seen.
	 * Make sure to let gadget driver know in that case.
	 */
	if (!dwc->vbus_active && dwc->start_config_issued) {
	if (!dwc->vbus_active) {
		dev_dbg(dwc->dev, "calling disconnect from %s\n", __func__);
		dwc3_gadget_disconnect_interrupt(dwc);
	}