diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-08-07 15:40:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-07 18:44:13 +0300 |
commit | d38c4ae194bb8a3d8cf7d95378c5b2799cdd0a3b (patch) | |
tree | 995344d86065d6999f2eebf641d42692b47be34f /include/linux/fpga/fpga-bridge.h | |
parent | 6a06e895b262621a81b3b08126b4bc5e1b8eef05 (diff) | |
download | linux-d38c4ae194bb8a3d8cf7d95378c5b2799cdd0a3b.tar.xz |
spi: rockchip: Fix clock handling in suspend/resume
The runtime suspend callback might be called by pm domain framework at
suspend_noirq stage. It would try to disable the clocks which already
been disabled by rockchip_spi_suspend.
Call pm_runtime_force_suspend/pm_runtime_force_resume when
suspend/resume to avoid that.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions