USB: ohci: port reset paranoia timeout
authorDavid Brownell <david-b@pacbell.net>
Sat, 2 Feb 2008 10:42:52 +0000 (02:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:34 +0000 (21:16 -0700)
commite01e7fe3886715f083313da409c5850472455d06
tree1e7804fe4f5fe563335ee270218062d406128f42
parent9776afc8b3dc487557f3f576002520f59be334e6
USB: ohci: port reset paranoia timeout

This limits how long the OHCI port reset loop waits for the hardware
to do its job, if the controller either (a) dies, or (b) can't finish
the reset.  Such limits are always a good idea.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hub.c