diff options
| author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 16:05:32 +1100 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-06 21:42:57 -0500 |
| commit | 1cc160e1ba938d34581181517221913683031d29 (patch) | |
| tree | 714939893feac7f9ede33c3a9aa3930abf0de599 /drivers/fpga/fpga-mgr.c | |
| 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>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
