Skip to content
Unverified Commit 9e630efb authored by Zhang Shurong's avatar Zhang Shurong Committed by Mark Brown
Browse files

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: 955ac624

 ("ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers")
Signed-off-by: default avatarZhang Shurong <zhang_shurong@foxmail.com>
Link: https://lore.kernel.org/r/tencent_C0D62E6D89818179A02A04A0C248F0DDC40A@qq.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e8ecffd9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment