]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26abe21e184b92f8f8df9d3640392e3993203dc0
tree1e7804fe4f5fe563335ee270218062d406128f42
parent13820eaa6665e63a19ed318a8d3bc6e9a57574e3
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