usb: dwc2: Reduce delay when forcing mode in reset
authorJohn Youn <John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:18:13 +0000 (11:18 -0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 22 Dec 2015 18:01:32 +0000 (12:01 -0600)
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>
drivers/usb/dwc2/core.c

index 9dca83544b5e4bacc87aa567985c996605ec0b82..39a0fa8a4c0aea17b9ecf330c127b110b4b54ba4 100644 (file)
@@ -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);
 }
 
 /*