]> git.dujemihanovic.xyz Git - linux.git/commit
ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
authorMark Brown <broonie@kernel.org>
Wed, 3 Jan 2024 18:34:04 +0000 (18:34 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 3 Jan 2024 18:37:02 +0000 (18:37 +0000)
commitb036d8ef3120b996751495ce25994eea58032a98
tree1a9093cd73a585a2b1f0662aa88e1bb2d19c7f89
parent172c88244b5f2d3375403ebb504d407be0fded59
ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux

When a control changes value the return value from _put() should be 1 so
we get events generated to userspace notifying applications of the change.
While the I2S mux gets this right the S/PDIF mux does not, fix the return
value.

Fixes: c8609f3870f7 ("ASoC: meson: add g12a tohdmitx control")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240103-meson-enum-val-v1-4-424af7a8fb91@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/g12a-tohdmitx.c