]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB: ehci: fix some ehci hangs and crashes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 26 Aug 2008 21:43:46 +0000 (14:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Sep 2008 20:58:06 +0000 (13:58 -0700)
commit0bcfeb3ec9467a8dfae3e906925ec28fe788afcf
treecc14fa5709e3dcda0a7cdc150b84610ef44e1e2b
parent73b2c2057579314c4fea1a37e35a501fbb8b9916
USB: ehci: fix some ehci hangs and crashes

I noticed that the "Refactor "if (handshake()) state = HC_STATE_HALT"
patch from earlier this year perpetuated a potential problem:  it can
mark the controller as halted when it's still running (but not acting
as, perhaps wrongly, expected).

That caused some hangs and crashes, rather than more polite failure
modes of a truly halted controller.  This patch forces a true halt,
and emits a (previously missing) diagnostic.

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