diff options
| author | Tony Lindgren <[email protected]> | 2018-05-18 17:30:08 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-05-21 15:44:29 +0000 |
| commit | d073bfa56bb74128802f5ffd444721774e03ac6d (patch) | |
| tree | c733a99d214564d8e0a538019c6e6f3307082a43 /fs/proc/namespaces.c | |
| parent | spi: Add missing pm_runtime_put_noidle() after failed get (diff) | |
| download | kernel-d073bfa56bb74128802f5ffd444721774e03ac6d.tar.gz kernel-d073bfa56bb74128802f5ffd444721774e03ac6d.zip | |
spi: omap2-mcspi: Remove unnecessary pm_runtime_force_suspend()
Commit 5a686b2c9ed4 ("spi: omap2-mcspi: Idle hardware during suspend
and resume") added calls for pm_runtime_force_suspend() and
pm_runtime_force_resume() to make sure spi is idled between
device_prepare() and device_complete().
But testing Linux next, I now noticed that we will get the following:
spi_master spi0: Failed to power device: -13
Looking at things more turns out we can just remove this non-standard
code. I was probably testing with some extra experimental patches
earlier when I thought we need pm_runtime_force_suspend() and
pm_runtime_force_resume().
Fixes: 5a686b2c9ed4 ("spi: omap2-mcspi: Idle hardware during suspend
and resume")
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/proc/namespaces.c')
0 files changed, 0 insertions, 0 deletions
