]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: es8328: Fix DAC deemphasis control handling
authorHsieh Hung-En <hungen3108@gmail.com>
Fri, 30 Jan 2026 16:00:13 +0000 (00:00 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2026 12:49:59 +0000 (12:49 +0000)
commit4c6b74d58766ce7cd66ae8e14babf877039adef6
tree29c92c00cfa5594d9f4627d82f29318578ce43db
parenta1d14d8364eac2611fe1391c73ff0e5b26064f0e
ASoC: es8328: Fix DAC deemphasis control handling

The DAC deemphasis control updated the hardware before updating the cached
state, causing the previous setting to be applied.

Update the cached deemphasis state first and then apply the setting.

Also check and propagate errors from es8328_set_deemph() in hw_params().

Signed-off-by: Hsieh Hung-En <hungen3108@gmail.com>
Link: https://patch.msgid.link/20260130160017.2630-2-hungen3108@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8328.c