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

Commit eea9fc7d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Merge branch 'for-next/dwc3' of...

Merge branch 'for-next/dwc3' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next

* 'for-next/dwc3' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb:
  usb: dwc3: gadget: move us to Default State after reset
parents 6db174ea 961906ed
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -1713,6 +1713,9 @@ static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc)
			dwc3_gadget_disconnect_interrupt(dwc);
			dwc3_gadget_disconnect_interrupt(dwc);
	}
	}


	/* after reset -> Default State */
	dwc->dev_state = DWC3_DEFAULT_STATE;

	/* Enable PHYs */
	/* Enable PHYs */
	dwc3_gadget_usb2_phy_power(dwc, true);
	dwc3_gadget_usb2_phy_power(dwc, true);
	dwc3_gadget_usb3_phy_power(dwc, true);
	dwc3_gadget_usb3_phy_power(dwc, true);