summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-dw.c
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2017-08-07 15:40:19 +0300
committerMark Brown <broonie@kernel.org>2017-08-07 18:44:10 +0300
commit6a06e895b262621a81b3b08126b4bc5e1b8eef05 (patch)
tree37dbfd044624568eb6c630a5cfb0d33d04841005 /drivers/spi/spi-dw.c
parent43de979ddc099c57858b243619c66e2f663a2f97 (diff)
downloadlinux-6a06e895b262621a81b3b08126b4bc5e1b8eef05.tar.xz
spi: rockchip: Fix clock handling in remove
We are assuming clocks enabled when calling rockchip_spi_remove, which is not always true. Those clocks might already been disabled by the runtime PM at that time. Call pm_runtime_get_sync before trying to disable clocks to avoid that. Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.c')
0 files changed, 0 insertions, 0 deletions