]> git.baikalelectronics.ru Git - kernel.git/commit
Fix PM disable depth imbalance in probe
authorMark Brown <broonie@kernel.org>
Fri, 30 Sep 2022 08:15:58 +0000 (09:15 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 30 Sep 2022 08:15:58 +0000 (09:15 +0100)
commitd7be355e6917b8ed83a03aeb95c0c891c03a95ac
tree3918e88ca8fd6c7ff1ef8bbeb9c6d4aeafa41e4d
parent5bda0859d2b3e3a612bcfdfa9c41edeac0c2dcf1
parentcd8400d6a89721f40ec4392b37a906cbaf3b77f3
Fix PM disable depth imbalance in probe

Merge series from Zhang Qilong <zhangqilong3@huawei.com>:

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