diff options
Diffstat (limited to 'drivers/scsi/arm/fas216.c')
-rw-r--r-- | drivers/scsi/arm/fas216.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/arm/fas216.c b/drivers/scsi/arm/fas216.c index 3838f88e1fe0..4772fb317f3e 100644 --- a/drivers/scsi/arm/fas216.c +++ b/drivers/scsi/arm/fas216.c | |||
@@ -2659,6 +2659,8 @@ int fas216_eh_host_reset(Scsi_Cmnd *SCpnt) | |||
2659 | { | 2659 | { |
2660 | FAS216_Info *info = (FAS216_Info *)SCpnt->device->host->hostdata; | 2660 | FAS216_Info *info = (FAS216_Info *)SCpnt->device->host->hostdata; |
2661 | 2661 | ||
2662 | spin_lock_irq(info->host->host_lock); | ||
2663 | |||
2662 | fas216_checkmagic(info); | 2664 | fas216_checkmagic(info); |
2663 | 2665 | ||
2664 | printk("scsi%d.%c: %s: resetting host\n", | 2666 | printk("scsi%d.%c: %s: resetting host\n", |
@@ -2686,6 +2688,7 @@ int fas216_eh_host_reset(Scsi_Cmnd *SCpnt) | |||
2686 | 2688 | ||
2687 | fas216_init_chip(info); | 2689 | fas216_init_chip(info); |
2688 | 2690 | ||
2691 | spin_unlock_irq(info->host->host_lock); | ||
2689 | return SUCCESS; | 2692 | return SUCCESS; |
2690 | } | 2693 | } |
2691 | 2694 | ||