diff options
author | Zhang Qilong <[email protected]> | 2020-11-11 12:13:24 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-11 12:35:08 +0000 |
commit | b8161cbe55a1892a19a318eaebbda92438fa708c (patch) | |
tree | 5f8bbf169cd3089f9fbb31a0e9b912086826c64b /lib/mpi/mpi-bit.c | |
parent | 0a142f536785196397aa07aa1c81343b9db0a3b9 (diff) |
ASoC: wm8994: Fix PM disable depth imbalance on error
The pm_runtime_enable will increase power disable depth. Thus
a pairing decrement is needed on the error handling path to
keep it balanced according to context.
Fixes: 57e265c8d71fb ("ASoC: wm8994: Move runtime PM init to platform device init")
Signed-off-by: Zhang Qilong <[email protected]>
Reviewed-by: Richard Fitzgerald <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions