diff options
author | 2018-09-05 10:49:38 +0200 | |
---|---|---|
committer | 2018-09-05 12:40:06 +0100 | |
commit | c1ca59c22c56930b377a665fdd1b43351887830b (patch) | |
tree | 8a20b9aa37193e855d08b24bd009c7b7f1d5962a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | spi: sh-msiof: Fix handling of write value for SISTR register (diff) | |
download | linux-dev-c1ca59c22c56930b377a665fdd1b43351887830b.tar.xz linux-dev-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 <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions