diff options
author | Tony Lindgren <tony@atomide.com> | 2018-11-16 00:59:39 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-16 01:20:43 +0100 |
commit | 91b9deefedf4c35a01027ce38bed7299605026a3 (patch) | |
tree | 31a02f2f0e9eaeb33499181f23c5110e5a334540 /drivers/spi/spi-bcm2835.c | |
parent | spi: mediatek: use correct mata->xfer_len when in fifo transfer (diff) | |
download | linux-91b9deefedf4c35a01027ce38bed7299605026a3.tar.xz linux-91b9deefedf4c35a01027ce38bed7299605026a3.zip |
spi: omap2-mcspi: Add missing suspend and resume calls
I've been wondering still about omap2-mcspi related suspend and resume
flakeyness and looks like we're missing calls to spi_master_suspend()
and spi_master_resume(). Adding those and using pm_runtime_force_suspend()
and pm_runtime_force_resume() makes things work for suspend and resume
and allows us to stop using noirq suspend and resume.
And while at it, let's use SET_SYSTEM_SLEEP_PM_OPS to simplify things
further.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
0 files changed, 0 insertions, 0 deletions