]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: codecs: wsa884x: Correct VI sense channel mask
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 12 Mar 2025 19:25:00 +0000 (20:25 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 26 Mar 2025 13:30:27 +0000 (13:30 +0000)
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-2-9ca705881122@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wsa884x.c

index 8051483aa1aca7a00849d24e8b81adadd19ffd0a..daada1a2a34c5200978df131fded0be6f72788aa 100644 (file)
@@ -891,7 +891,7 @@ static const struct sdw_port_config wsa884x_pconfig[WSA884X_MAX_SWR_PORTS] = {
        },
        [WSA884X_PORT_VISENSE] = {
                .num = WSA884X_PORT_VISENSE + 1,
-               .ch_mask = 0x3,
+               .ch_mask = 0x1,
        },
        [WSA884X_PORT_CPS] = {
                .num = WSA884X_PORT_CPS + 1,