mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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
This commit is contained in:
commit
eea9fc7ddd
1 changed files with 3 additions and 0 deletions
|
@ -1713,6 +1713,9 @@ static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc)
|
|||
dwc3_gadget_disconnect_interrupt(dwc);
|
||||
}
|
||||
|
||||
/* after reset -> Default State */
|
||||
dwc->dev_state = DWC3_DEFAULT_STATE;
|
||||
|
||||
/* Enable PHYs */
|
||||
dwc3_gadget_usb2_phy_power(dwc, true);
|
||||
dwc3_gadget_usb3_phy_power(dwc, true);
|
||||
|
|
Loading…
Reference in a new issue