From: Mark Brown Date: Fri, 30 Sep 2022 08:15:58 +0000 (+0100) Subject: Fix PM disable depth imbalance in probe X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d488b28502d7c22b1b50f0543da119748e575919;p=linux.git Fix PM disable depth imbalance in probe Merge series from Zhang Qilong : 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 probe. Zhang Qilong (4): ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe sound/soc/codecs/mt6660.c | 8 ++++++-- sound/soc/codecs/wm5102.c | 6 +++--- sound/soc/codecs/wm5110.c | 6 +++--- sound/soc/codecs/wm8997.c | 6 +++--- 4 files changed, 15 insertions(+), 11 deletions(-) -- 2.25.1 --- d488b28502d7c22b1b50f0543da119748e575919