]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: ak4458: Disable regulator when error happens
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 3 Dec 2025 10:05:28 +0000 (18:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:38 +0000 (13:09 +0100)
commit8cb3ed1b56696ae00b2852f6d22a29c2a6fb2c8c
tree484047a28a52cf2fca48a07767395600c743bd60
parent5a38a44815e02281dce784fea51cee8d0bcab5fa
ASoC: ak4458: Disable regulator when error happens

[ Upstream commit ae585fabb9713a43e358cf606451386757225c95 ]

Disable regulator in runtime resume when error happens to balance
the reference count of regulator.

Fixes: 7e3096e8f823 ("ASoC: ak4458: Add regulator support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20251203100529.3841203-2-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/ak4458.c