Zhang Qilong cc756b79a5 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
[ Upstream commit b73f11e895e140537e7f8c7251211ccd3ce0782b ]

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 mt6660_i2c_probe.

Fixes:f289e55c6eeb4 ("ASoC: Add MediaTek MT6660 Speaker Amp Driver")

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20220928160116.125020-5-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 12:34:57 +02:00
..
2021-03-18 13:50:35 +00:00
2021-04-20 17:25:51 +01:00
2021-04-20 17:25:51 +01:00
2021-08-06 17:00:51 +02:00
2021-03-10 13:10:37 +00:00
2021-09-27 12:59:09 +01:00
2021-03-31 18:00:38 +01:00
2021-03-31 18:00:38 +01:00
2021-02-04 18:45:19 +00:00
2021-08-24 15:39:01 +02:00
2018-04-26 12:44:15 +01:00
2022-08-17 14:24:07 +02:00
2021-03-10 13:09:57 +00:00
2020-05-07 13:18:04 +01:00
2021-03-10 13:09:58 +00:00
2021-03-10 13:09:59 +00:00
2019-07-26 13:10:09 +01:00
2021-03-10 13:10:05 +00:00
2021-03-10 13:10:07 +00:00
2020-12-09 17:00:33 +00:00
2018-05-18 11:20:11 +01:00
2022-10-26 12:34:52 +02:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-26 15:27:13 +01:00
2020-10-02 21:05:29 +01:00
2021-03-11 13:24:15 +00:00
2021-03-11 13:24:17 +00:00