]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: ehci - fix timer regression
authorDavid Brownell <david-b@pacbell.net>
Fri, 4 Jul 2008 05:20:28 +0000 (05:20 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Jul 2008 16:14:04 +0000 (09:14 -0700)
commit924906d7e3b72d90c7cc2449a84bfd16c17e2121
tree691057895c301d703f64a6cd53c747f98796ce07
parentc23e405b53aff53f884465c6612a7bb5a222e078
USB: ehci - fix timer regression

commit 056761e55c8687ddf3db14226213f2e8dc2689bc upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci.h