aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha1542.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aha1542.c')
-rw-r--r--drivers/scsi/aha1542.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index f911b51e3042..9ec4641a6348 100644
--- a/drivers/scsi/aha1542.c
+++ b/drivers/scsi/aha1542.c
@@ -1530,7 +1530,6 @@ static int aha1542_host_reset(Scsi_Cmnd * SCpnt)
1530 * check for timeout, and if we are doing something like this 1530 * check for timeout, and if we are doing something like this
1531 * we are pretty desperate anyways. 1531 * we are pretty desperate anyways.
1532 */ 1532 */
1533 spin_unlock_irq(SCpnt->device->host->host_lock);
1534 ssleep(4); 1533 ssleep(4);
1535 spin_lock_irq(SCpnt->device->host->host_lock); 1534 spin_lock_irq(SCpnt->device->host->host_lock);
1536 1535
@@ -1574,9 +1573,11 @@ static int aha1542_host_reset(Scsi_Cmnd * SCpnt)
1574 } 1573 }
1575 } 1574 }
1576 1575
1576 spin_unlock_irq(SCpnt->device->host->host_lock);
1577 return SUCCESS; 1577 return SUCCESS;
1578 1578
1579fail: 1579fail:
1580 spin_unlock_irq(SCpnt->device->host->host_lock);
1580 return FAILED; 1581 return FAILED;
1581} 1582}
1582 1583