diff options
author | Tony Lindgren <tony@atomide.com> | 2018-05-18 20:30:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-21 18:44:29 +0300 |
commit | d073bfa56bb74128802f5ffd444721774e03ac6d (patch) | |
tree | c733a99d214564d8e0a538019c6e6f3307082a43 /net/unix/af_unix.c | |
parent | 7e48e23a1f4a50f93ac1073f1326e0a73829b631 (diff) | |
download | linux-d073bfa56bb74128802f5ffd444721774e03ac6d.tar.xz |
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 <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions