Zhang Qilong 45387ca422 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
[ Upstream commit fcbb60820cd3008bb44334a0395e5e57ccb77329 ]

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 moving
pm_runtime_enable to the endding of wm5102_probe.

Fixes:93e8791dd34ca ("ASoC: wm5102: Initial driver")

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20220928160116.125020-4-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:22:31 +02:00
..
2021-03-24 11:26:34 +01:00
2021-05-14 09:44:29 +02:00
2019-06-26 12:27:50 +01:00
2020-06-17 16:40:26 +02:00
2018-04-26 12:44:15 +01:00
2019-07-26 13:10:09 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2018-05-18 11:20:11 +01:00
2019-06-26 12:39:34 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2019-12-31 16:45:31 +01:00