commit | 1cc160e1ba938d34581181517221913683031d29 | [log] [tgz] |
---|---|---|
author | Finn Thain <fthain@telegraphics.com.au> | Sun Jan 03 16:05:32 2016 +1100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 06 21:42:57 2016 -0500 |
tree | 714939893feac7f9ede33c3a9aa3930abf0de599 | |
parent | 340b96126d8abf859aa8af2fed31ed11ef9f4600 [diff] |
ncr5380: Fix !REQ timeout in do_abort() NCR5380_poll_politely() never returns -1. That means do_abort() can fail to handle a timeout after waiting for the target to negate REQ. Fix this and cleanup other NCR5380_poll_politely() call sites. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>