浏览代码

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 年之前
父节点
当前提交
97e463886b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 	 * NOTE: This long sleep is _very_ important, otherwise the core will
 	 * not stay in host mode after a connector ID change!
 	 * not stay in host mode after a connector ID change!
 	 */
 	 */
-	usleep_range(150000, 160000);
+	msleep(25);
 }
 }
 
 
 /*
 /*