summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHsieh Hung-En <hungen3108@gmail.com>2026-04-15 06:02:52 +0300
committerMark Brown <broonie@kernel.org>2026-04-16 15:39:10 +0300
commitc15bc1681045f158811643d6c990f87c590dd693 (patch)
tree8fa8d592605d50d68b293fbbca701bce004b41ee /include/linux
parent37e9faf21670cf86d36eebc3b4d27afe6819983a (diff)
downloadlinux-c15bc1681045f158811643d6c990f87c590dd693.tar.xz
ASoC: es8311: Fix clock leak and check update_bits in set_bias_level()
In es8311_set_bias_level(), the return value of snd_soc_component_update_bits() was ignored. If this fails, not only is the VMID selection not applied, but the previously enabled mclk is left running, leading to an unbalanced clock reference count (clock leak). Check the return value and ensure clk_disable_unprepare() is called on failure to maintain proper resource management. Signed-off-by: Hsieh Hung-En <hungen3108@gmail.com> Link: https://patch.msgid.link/20260415030252.5547-3-hungen3108@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions