Kaynağa Gözat

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>
John Youn 9 yıl önce
ebeveyn
işleme
97e463886b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      drivers/usb/dwc2/core.c

+ 1 - 1
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);
 }
 
 /*