[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 35bd13879fed613de539b0719e2191da7956cedd..54b1c5bb310f99f52e6a119eb7634ecb3f95d698 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;
 }