diff options
author | Dinh Nguyen <Dinh.Nguyen@freescale.com> | 2010-04-13 18:13:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-23 00:18:29 +0200 |
commit | 6307e0961205c50a8a9b6e8e3e4dfd178a944ba9 (patch) | |
tree | d9f7cca27c219b55929831b4283a28fd133c94c7 | |
parent | USB: put claimed interfaces in the "suspended" state (diff) | |
download | linux-6307e0961205c50a8a9b6e8e3e4dfd178a944ba9.tar.xz linux-6307e0961205c50a8a9b6e8e3e4dfd178a944ba9.zip |
usb: Increase timeout value for device reset
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>
-rw-r--r-- | drivers/usb/host/ehci-hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c index 19372673bf09..c7178bcde67a 100644 --- 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, 750); + PORT_RESET, 0, 1000); if (retval != 0) { ehci_err (ehci, "port %d reset error %d\n", wIndex + 1, retval); |