aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.c
diff options
context:
space:
mode:
authorJohn Youn <John.Youn@synopsys.com>2015-12-17 14:18:13 -0500
committerFelipe Balbi <balbi@ti.com>2015-12-22 13:01:32 -0500
commit97e463886b873f62bea2293e7edf81fdb884b84f (patch)
treed6f69c02d417c12e9adeedb9f025ad72ee70af4a /drivers/usb/dwc2/core.c
parent241729baa932a69cd203dbaa81abbb8af5b77b65 (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/core.c')
-rw-r--r--drivers/usb/dwc2/core.c2
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)
602 * NOTE: This long sleep is _very_ important, otherwise the core will 602 * NOTE: This long sleep is _very_ important, otherwise the core will
603 * not stay in host mode after a connector ID change! 603 * not stay in host mode after a connector ID change!
604 */ 604 */
605 usleep_range(150000, 160000); 605 msleep(25);
606} 606}
607 607
608/* 608/*