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
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user