diff options
author | John Youn <John.Youn@synopsys.com> | 2015-12-17 11:18:13 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-12-22 12:01:32 -0600 |
commit | 97e463886b873f62bea2293e7edf81fdb884b84f (patch) | |
tree | d6f69c02d417c12e9adeedb9f025ad72ee70af4a /drivers/usb/dwc2 | |
parent | 241729baa932a69cd203dbaa81abbb8af5b77b65 (diff) |
usb: dwc2: Reduce delay when forcing mode in reset
The delay for force mode is only 25ms according to the databook.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r-- | drivers/usb/dwc2/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/core.c b/drivers/usb/dwc2/core.c index 9dca83544b5e..39a0fa8a4c0a 100644 --- a/drivers/usb/dwc2/core.c +++ b/drivers/usb/dwc2/core.c @@ -602,7 +602,7 @@ static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) * NOTE: This long sleep is _very_ important, otherwise the core will * not stay in host mode after a connector ID change! */ - usleep_range(150000, 160000); + msleep(25); } /* |