projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571dc79
)
usb: Increase timeout value for device reset
author
Dinh Nguyen
<Dinh.Nguyen@freescale.com>
Tue, 13 Apr 2010 16:13:15 +0000
(11:13 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 22 Apr 2010 22:18:29 +0000
(15:18 -0700)
It seems that for USB IP on Freescale MX5x processors, it needs >750
usec for the reset to complete. This change should not hurt any other
EHCI hardware.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-hub.c
b/drivers/usb/host/ehci-hub.c
index 19372673bf09aadffc955c2ca531b8133b219149..c7178bcde67a99da38c2e08b1b2a8bb4481a7a14 100644
(file)
--- a/
drivers/usb/host/ehci-hub.c
+++ b/
drivers/usb/host/ehci-hub.c
@@
-801,7
+801,7
@@
static int ehci_hub_control (
* this bit; seems too long to spin routinely...
*/
retval = handshake(ehci, status_reg,
- PORT_RESET, 0,
75
0);
+ PORT_RESET, 0,
100
0);
if (retval != 0) {
ehci_err (ehci, "port %d reset error %d\n",
wIndex + 1, retval);