projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241729b
)
usb: dwc2: Reduce delay when forcing mode in reset
author
John Youn
<John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:18:13 +0000
(11:18 -0800)
committer
Felipe 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc2/core.c
b/drivers/usb/dwc2/core.c
index 9dca83544b5e4bacc87aa567985c996605ec0b82..39a0fa8a4c0aea17b9ecf330c127b110b4b54ba4 100644
(file)
--- 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
);
}
/*