]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: ak5558: Disable regulator when error happens
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 3 Dec 2025 10:05:29 +0000 (18:05 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 3 Dec 2025 12:38:14 +0000 (12:38 +0000)
commit1f8f726a2a29c28f65b30880335a1610c5e63594
tree3358470bbd6a2a6f44a1226c309f8e53119c3ae0
parentae585fabb9713a43e358cf606451386757225c95
ASoC: ak5558: Disable regulator when error happens

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

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