]> err.no Git - linux-2.6/commit
USB: ehci - fix timer regression
authorDavid Brownell <david-b@pacbell.net>
Sat, 14 Jun 2008 06:56:48 +0000 (23:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jul 2008 01:20:36 +0000 (18:20 -0700)
commit056761e55c8687ddf3db14226213f2e8dc2689bc
tree0a462ad33cc3c78bc7c520c50aa2b6c9c2a7c1cd
parent4b828abed217527ca815727a1a251334bd8e5e04
USB: ehci - fix timer regression

This patch fixes a regression in the EHCI driver's TIMER_IO_WATCHDOG
behavior.  The patch "USB: EHCI: add separate IAA watchdog timer" changed
how that timer is handled, so that short timeouts on the remaining
timer (unfortunately, overloaded) would never be used.

This takes a more direct approach, reorganizing the code slightly to
be explicit about only the I/O watchdog role now being overridable.
It also replaces a now-obsolete comment describing older timer behavior.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Leonid <leonidv11@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci.h