[PATCH] spin longer for ehci port reset completion
authorDavid Brownell <david-b@pacbell.net>
Mon, 13 Jun 2005 14:15:28 +0000 (07:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 13 Jun 2005 15:20:41 +0000 (08:20 -0700)
commitc22fa3acbc2ef79ea57217643f6cd6d226963069
treed79cf44149684a0cefc825f1619f0fbd33ea7e59
parentc0105338eb4e61e537ca34ae06921177cb6efcf0
[PATCH] spin longer for ehci port reset completion

This makes the EHCI driver spin a bit longer before concluding that the
port reset failed.  "Obviously safe."

It allows some devices to enumerate that previously didn't.  We've seen
a bunch of these problem reports recently, this will make some go away.

As reported by Michael Zapf <Michael.Zapf@uni-kassel.de>, some EHCI
controllers seem to take forever to finish port resets and produce
"port N reset error -110" type errors.  Spinning a bit longer helps.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/host/ehci-hub.c