diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-22 14:01:02 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-22 14:01:08 -0800 |
commit | eea9fc7ddda80d3221fd79430b841a2cb315bb9f (patch) | |
tree | 1bd35ca20bba3d2d336a9178e93f56373d2a89c3 /drivers/usb | |
parent | 6db174eaada4c2c426eca689ea871d9c0546f7a9 (diff) | |
parent | 961906edb549c95f4cc33e4f3dbfd0fcc364954d (diff) | |
download | blackbird-op-linux-eea9fc7ddda80d3221fd79430b841a2cb315bb9f.tar.gz blackbird-op-linux-eea9fc7ddda80d3221fd79430b841a2cb315bb9f.zip |
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
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 36c61e80f323..7367e5cb9831 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -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); |