Searched hist:d38c4ae194bb8a3d8cf7d95378c5b2799cdd0a3b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-rockchip.c | diff d38c4ae194bb8a3d8cf7d95378c5b2799cdd0a3b Mon Aug 07 07:40:20 CDT 2017 Jeffy Chen <jeffy.chen@rock-chips.com> 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>
|