]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: codecs: wsa883x: Correct VI sense channel mask
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 12 Mar 2025 19:24:59 +0000 (20:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:12:27 +0000 (11:12 +0200)
[ Upstream commit ed3b274abc4008efffebf1997968a3f2720a86d3 ]

VI sense port on WSA883x speaker takes only one channel, so use 0x1 as
channel mask.  This fixes garbage being recorded by the speaker when
testing the VI sense feedback path.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250312-asoc-wsa88xx-visense-v1-1-9ca705881122@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/wsa883x.c

index 47da5674d7c922b56fcdf70e38b7d7fc9a40267a..e31b7fb104e6c5d3407bd1e2c4e253b1d6cab4f5 100644 (file)
@@ -529,7 +529,7 @@ static const struct sdw_port_config wsa883x_pconfig[WSA883X_MAX_SWR_PORTS] = {
        },
        [WSA883X_PORT_VISENSE] = {
                .num = WSA883X_PORT_VISENSE + 1,
-               .ch_mask = 0x3,
+               .ch_mask = 0x1,
        },
 };