[SCSI] megaraid: remove a spurious IRQ enable
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Jun 2012 09:00:30 +0000 (12:00 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:39 +0000 (08:58 +0100)
We took this lock with spin_lock() so we should unlock it with
spin_unlock() instead of spin_unlock_irq().  This was introduced in
f2c8dc402b "[SCSI] megaraid_mbox: remove scsi_assign_lock usage".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_mbox.c

index 35bd138..54b1c5b 100644 (file)
@@ -2731,7 +2731,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp)
        }
 
  out:
-       spin_unlock_irq(&adapter->lock);
+       spin_unlock(&adapter->lock);
        return rval;
 }