Home
last modified time | relevance | path

Searched hist:ce40d93b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-adda.cce40d93b Fri Feb 24 08:03:58 CST 2023 Mark Brown <broonie@kernel.org> ASoC: mt8192: Fix range for sidetone positive gain

The Sidetone_Positive_Gain_dB control reports a range of 0..100 as valid
but the put() function rejects anything larger than 24. Fix this.

There are numerous other problems with this control, the name is very non
idiomatic and it should be a TLV, but it's ABI so probably we should leave
those alone.

Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230223-asoc-mt8192-quick-fixes-v1-4-9a85f90368e1@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>