diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-25 21:47:11 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-27 02:44:21 -0400 |
commit | 914616a3c2a54504f3b0eda0b67fcd32226b3e83 (patch) | |
tree | 25ed41a36178fbaba64745269e9fbe5bac4eecf0 /drivers/ata/pata_cmd640.c | |
parent | 09d7f9b0658072485a93247e1b6e15e661f860d2 (diff) | |
download | blackbird-obmc-linux-914616a3c2a54504f3b0eda0b67fcd32226b3e83.tar.gz blackbird-obmc-linux-914616a3c2a54504f3b0eda0b67fcd32226b3e83.zip |
libata: fix infinite EH waiting bug
When EH gives up after repeated exceptions, it doesn't't clear the
PENDING bit on exit which leaves PENDING bit set without EH actually
scheduled. This makes ata_port_wait_eh() to wait forever makes rmmod
hang on such port. Fix it by clearing the flag.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
0 files changed, 0 insertions, 0 deletions