]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 3 Oct 2023 15:55:56 +0000 (17:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 16:26:34 +0000 (17:26 +0100)
commit51b054f6fe019e3151e55873d8b9d97971f78c14
treef625a4e5c16b24572d86f859096356e7cb82b674
parentcb34f4e79e54fd694c27be76183a8963d71bf95e
ASoC: codecs: wcd938x: fix runtime PM imbalance on remove

[ Upstream commit 3ebebb2c1eca92a15107b2d7aeff34196fd9e217 ]

Make sure to balance the runtime PM operations, including the disable
count, on driver unbind.

Fixes: 16572522aece ("ASoC: codecs: wcd938x-sdw: add SoundWire driver")
Cc: stable@vger.kernel.org # 5.14
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20231003155558.27079-6-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wcd938x.c