]> 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)
commit2c0d432a89aa8c11a20c4c79ede08f848212fb69
tree3918e88ca8fd6c7ff1ef8bbeb9c6d4aeafa41e4d
parent983ecdd558ff340d7ea248759bbd83a90c749c15
parent0d8c709e5f5c680f10ce600595c4a38cbccf6c5d
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