diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index e3892585d7e6..89f073a3b766 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -2249,6 +2249,8 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag) | |||
2249 | printf(" 0x%x", cmd->cmnd[cdb_byte]); | 2249 | printf(" 0x%x", cmd->cmnd[cdb_byte]); |
2250 | printf("\n"); | 2250 | printf("\n"); |
2251 | 2251 | ||
2252 | spin_lock_irq(&ahc->platform_data->spin_lock); | ||
2253 | |||
2252 | /* | 2254 | /* |
2253 | * First determine if we currently own this command. | 2255 | * First determine if we currently own this command. |
2254 | * Start by searching the device queue. If not found | 2256 | * Start by searching the device queue. If not found |
@@ -2503,6 +2505,8 @@ done: | |||
2503 | } | 2505 | } |
2504 | spin_lock_irq(&ahc->platform_data->spin_lock); | 2506 | spin_lock_irq(&ahc->platform_data->spin_lock); |
2505 | } | 2507 | } |
2508 | |||
2509 | spin_unlock_irq(&ahc->platform_data->spin_lock); | ||
2506 | return (retval); | 2510 | return (retval); |
2507 | } | 2511 | } |
2508 | 2512 | ||