diff options
author | David Brownell | 2008-08-26 14:43:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman | 2008-09-23 13:58:06 -0700 |
commit | 0bcfeb3ec9467a8dfae3e906925ec28fe788afcf (patch) | |
tree | cc14fa5709e3dcda0a7cdc150b84610ef44e1e2b /drivers/usb/storage/unusual_devs.h | |
parent | 73b2c2057579314c4fea1a37e35a501fbb8b9916 (diff) |
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>
Diffstat (limited to 'drivers/usb/storage/unusual_devs.h')
0 files changed, 0 insertions, 0 deletions