aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2018-09-05 08:49:38 +0000
committerMark Brown <[email protected]>2018-09-05 11:40:06 +0000
commitc1ca59c22c56930b377a665fdd1b43351887830b (patch)
tree8a20b9aa37193e855d08b24bd009c7b7f1d5962a /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parentspi: sh-msiof: Fix handling of write value for SISTR register (diff)
downloadkernel-c1ca59c22c56930b377a665fdd1b43351887830b.tar.gz
kernel-c1ca59c22c56930b377a665fdd1b43351887830b.zip
spi: rspi: Fix invalid SPI use during system suspend
If the SPI queue is running during system suspend, the system may lock up. Fix this by stopping/restarting the queue during system suspend/resume, by calling spi_master_suspend()/spi_master_resume() from the PM callbacks. In-kernel users will receive an -ESHUTDOWN error while system suspend/resume is in progress. Based on a patch for sh-msiof by Gaku Inami. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions