Skip to content
Unverified Commit 9c3148de authored by zhangqilong's avatar zhangqilong Committed by Mark Brown
Browse files

ASoC: fsl_xcvr:Fix unbalanced pm_runtime_enable in fsl_xcvr_probe



a) Add missing pm_runtime_disable() when probe error out. It could
avoid pm_runtime implementation complains when removing and probing
again the driver.
b) Add remove for missing pm_runtime_disable().

Fix:c590fa80 ("ASoC: fsl_xcvr: register platform component before registering cpu dai")

Signed-off-by: default avatarZhang Qilong <zhangqilong3@huawei.com>
Acked-by: default avatarShengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220602072024.33236-1-zhangqilong3@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 84965cc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment