]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:10:25 +0000 (17:10 +0100)
commit5735f529e318de4a798c50c2281f5686d05b22ab
tree031ef6da15ba19363752c73c868efc937ae29d47
parent8719838c126ac82d98193d356fe6ce2b0872cdf2
ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux

[ Upstream commit b036d8ef3120b996751495ce25994eea58032a98 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/meson/g12a-tohdmitx.c