diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 16:05:17 +1100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-06 21:42:55 -0500 |
commit | 1f1b0c74dfaf6264d239823ed5aeb8dcdd62838c (patch) | |
tree | a2546a9f0c41190abf44da820688166609fc13f8 /sound/sh | |
parent | ac9399d09544525ff4713ab942cb44a7cea29a84 (diff) |
ncr5380: Proceed with next command after NCR5380_select() calls scsi_done
If a target disappears from the SCSI bus, NCR5380_select() may
subsequently fail with a time-out. In this situation, scsi_done is
called and NCR5380_select() returns 0. Both hostdata->connected and
hostdata->selecting are NULL and the main loop should proceed with
the next command in the issue queue. Clarify this logic.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions