diff options
author | Jeffy Chen <[email protected]> | 2017-08-07 20:40:19 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-08-07 16:44:10 +0100 |
commit | 6a06e895b262621a81b3b08126b4bc5e1b8eef05 (patch) | |
tree | 37dbfd044624568eb6c630a5cfb0d33d04841005 /net/unix/sysctl_net_unix.c | |
parent | 43de979ddc099c57858b243619c66e2f663a2f97 (diff) |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions