diff options
author | Zhang Shurong <[email protected]> | 2023-10-12 21:03:15 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-10-23 13:27:13 +0100 |
commit | 9e630efb5a4af56fdb15aa10405f5cfd3f5f5b83 (patch) | |
tree | 98646dd41b96eea7d722eeee72001515af173162 /lib/memory-notifier-error-inject.c | |
parent | e8ecffd9962fe051d53a0761921b26d653b3df6b (diff) |
ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
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. We fix it by calling
pm_runtime_disable when error returns.
Fixes: 955ac624058f ("ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers")
Signed-off-by: Zhang Shurong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions