aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorPeter Crosthwaite <[email protected]>2013-06-04 16:02:34 +0200
committerMark Brown <[email protected]>2013-06-04 18:32:19 +0100
commit68c315bb951d94210c43c52166d326f9c26f7ce8 (patch)
tree1708d43440a40b87ce0531941a91f09c8d30f507 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e (diff)
spi: spi-xilinx: Remove ISR race condition
The ISR currently consumes the rx buffer data and re-enables transmission from within interrupt context. This is bad because if the interrupt occurs again before the ISR exits, the new interrupt will be erroneously cleared by the still completing ISR. Simplified the ISR by just setting the completion variable and exiting with no action. Then just looped the transmit functionality in xilinx_spi_txrx_bufs(). Signed-off-by: Peter Crosthwaite <[email protected]> Signed-off-by: Michal Simek <[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