]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: Fix runtime PM imbalance in tas2552_probe
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Thu, 8 Apr 2021 06:40:34 +0000 (14:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 8 Apr 2021 14:08:50 +0000 (15:08 +0100)
commit48277de6a17f3861366c6434f6625fe52ff99b2f
tree48d9cb0f21f7bea4b99d755b02da8fd6f1fc9188
parent1270938d2692d3584e5b74dc2e57575c78b697ce
ASoC: codecs: Fix runtime PM imbalance in tas2552_probe

There is a rumtime PM imbalance between the error handling path
after devm_snd_soc_register_component() and all other error
handling paths. Add a PM runtime increment to balance refcount.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20210408064036.6691-1-dinghao.liu@zju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c