diff options
author | Felipe Balbi <balbi@ti.com> | 2012-01-02 17:25:16 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-02-06 09:48:25 (GMT) |
commit | 138801aaa566ecb5a5739a85909b9ec7285efd70 (patch) | |
tree | f7f2712f31e5f9914fa73044eae733a3754b02e6 /drivers/usb/dwc3/gadget.c | |
parent | 8598bde7fa125e85bc97decd6513d37dcf1e7bd9 (diff) | |
download | linux-fsl-qoriq-138801aaa566ecb5a5739a85909b9ec7285efd70.tar.xz |
usb: dwc3: gadget: allow Link state changes via debugfs
This is very useful for low level link testing where
we might not have a USB Host stack, only a scope to
verify signal integrity.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 8000395..e0e2337 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -117,7 +117,7 @@ int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) if (DWC3_DSTS_USBLNKST(reg) == state) return 0; - usleep_range(500, 1500); + udelay(500); } dev_vdbg(dwc->dev, "link state change request timed out\n"); |