aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorBryan Freed <[email protected]>2013-03-13 11:17:40 -0700
committerMark Brown <[email protected]>2013-04-01 14:22:59 +0100
commitb0b36b861e434ee1c1a64cb39259e262f79af62e (patch)
tree57c741bdba95e18eab28fe82c2396b7b959c0f2a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent375981f2e14868be16cafbffd34a4f16a6ee01c6 (diff)
spi: Unlock a spinlock before calling into the controller driver.
spi_pump_messages() calls into a controller driver with unprepare_transfer_hardware() which is documented as "This may sleep". As in the prepare_transfer_hardware() call below, we should release the queue_lock spinlock before making the call. Rework the logic a bit to hold queue_lock to protect the 'busy' flag, then release it to call unprepare_transfer_hardware(). Signed-off-by: Bryan Freed <[email protected]> Reviewed-by: Doug Anderson <[email protected]> Signed-off-by: Doug Anderson <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions