Skip to content

Commit 7e010a0

Browse files
committed
ASoC: codecs: wsa88xx: Correct VI sense channel mask
Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>: VI sense port on WSA883x and WSA884x speaker takes only one channel, so correct the mask. At least this works during my tests on different devices with both speakers. With original mask (0x3) I get noise/garbage.
2 parents 012a6ef + 060fac2 commit 7e010a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sound/soc/codecs/wsa883x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ static const struct sdw_port_config wsa883x_pconfig[WSA883X_MAX_SWR_PORTS] = {
568568
},
569569
[WSA883X_PORT_VISENSE] = {
570570
.num = WSA883X_PORT_VISENSE + 1,
571-
.ch_mask = 0x3,
571+
.ch_mask = 0x1,
572572
},
573573
};
574574

sound/soc/codecs/wsa884x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ static const struct sdw_port_config wsa884x_pconfig[WSA884X_MAX_SWR_PORTS] = {
891891
},
892892
[WSA884X_PORT_VISENSE] = {
893893
.num = WSA884X_PORT_VISENSE + 1,
894-
.ch_mask = 0x3,
894+
.ch_mask = 0x1,
895895
},
896896
[WSA884X_PORT_CPS] = {
897897
.num = WSA884X_PORT_CPS + 1,

0 commit comments

Comments
 (0)