diff options
author | Samuel Holland <[email protected]> | 2022-08-09 21:25:09 -0500 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2023-01-02 15:57:36 +0100 |
commit | 8509419758f2cc28dd05370385af0d91573b76b4 (patch) | |
tree | 1c69b504201863988fa4f83fbc3f3a40f9f40372 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 1e336aa0c0250ec84c6f16efac40c9f0138e367d (diff) |
mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
If the controller is suspended by runtime PM, the clock is already
disabled, so do not try to disable it again during removal. Use
pm_runtime_disable() to flush any pending runtime PM transitions.
Fixes: 9a8e1e8cc2c0 ("mmc: sunxi: Add runtime_pm support")
Signed-off-by: Samuel Holland <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions