]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerMark Brown <broonie@kernel.org>
Wed, 3 Dec 2025 12:38:13 +0000 (12:38 +0000)
commitae585fabb9713a43e358cf606451386757225c95
treea693f3347e67063d15fff093af8a76436aaa6bcd
parent2b69bee5a2d07bc0583f2a8f17d262ddf7c58466
ASoC: ak4458: Disable regulator when error happens

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>
sound/soc/codecs/ak4458.c