diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-09-05 11:49:38 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-05 14:40:06 +0300 |
commit | c1ca59c22c56930b377a665fdd1b43351887830b (patch) | |
tree | 8a20b9aa37193e855d08b24bd009c7b7f1d5962a /MAINTAINERS | |
parent | 31a5fae4c5a009898da6d177901d5328051641ff (diff) | |
download | linux-c1ca59c22c56930b377a665fdd1b43351887830b.tar.xz |
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 <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions