diff options
author | 2022-09-29 00:01:16 +0800 | |
---|---|---|
committer | 2022-09-29 16:16:24 +0100 | |
commit | b73f11e895e140537e7f8c7251211ccd3ce0782b (patch) | |
tree | 4ee875a2106162e146acc7afda4a23cbff43bb1e /scripts/generate_rust_analyzer.py | |
parent | ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe (diff) | |
download | wireguard-linux-b73f11e895e140537e7f8c7251211ccd3ce0782b.tar.xz wireguard-linux-b73f11e895e140537e7f8c7251211ccd3ce0782b.zip |
ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_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 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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions