Skip to content

Commit 041db4b

Browse files
laklimovbroonie
authored andcommitted
ASoC: codecs: wcd937x: add missing LO Switch control
The wcd937x supports also AUX input but the control that sets correct soundwire port for this is missing. This control is required for audio playback, for instance, on qrb4210 RB2 board as well as on other SoCs. Reported-by: Adam Skladowski <[email protected]> Reported-by: Prasad Kumpatla <[email protected]> Suggested-by: Adam Skladowski <[email protected]> Suggested-by: Prasad Kumpatla <[email protected]> Cc: Srinivas Kandagatla <[email protected]> Cc: Mohammad Rafi Shaik <[email protected]> Signed-off-by: Alexey Klimov <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2ef9439 commit 041db4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/codecs/wcd937x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,6 +2049,8 @@ static const struct snd_kcontrol_new wcd937x_snd_controls[] = {
20492049
wcd937x_get_swr_port, wcd937x_set_swr_port),
20502050
SOC_SINGLE_EXT("HPHR Switch", WCD937X_HPH_R, 0, 1, 0,
20512051
wcd937x_get_swr_port, wcd937x_set_swr_port),
2052+
SOC_SINGLE_EXT("LO Switch", WCD937X_LO, 0, 1, 0,
2053+
wcd937x_get_swr_port, wcd937x_set_swr_port),
20522054

20532055
SOC_SINGLE_EXT("ADC1 Switch", WCD937X_ADC1, 1, 1, 0,
20542056
wcd937x_get_swr_port, wcd937x_set_swr_port),

0 commit comments

Comments
 (0)