diff options
author | Alexey Klimov <[email protected]> | 2024-10-22 04:31:30 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-29 14:10:59 +0000 |
commit | 041db4bbe04e8e0b48350b3bbbd9a799794d5c1e (patch) | |
tree | eb3be0526949d2452cafc52675ab34ccda7e747a | |
parent | 2ef9439f7a19fd3d43b288d38b1c6e55b668a4fe (diff) |
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]>
-rw-r--r-- | sound/soc/codecs/wcd937x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wcd937x.c b/sound/soc/codecs/wcd937x.c index 45f32d281908..0f0d2537d322 100644 --- a/sound/soc/codecs/wcd937x.c +++ b/sound/soc/codecs/wcd937x.c @@ -2049,6 +2049,8 @@ static const struct snd_kcontrol_new wcd937x_snd_controls[] = { wcd937x_get_swr_port, wcd937x_set_swr_port), SOC_SINGLE_EXT("HPHR Switch", WCD937X_HPH_R, 0, 1, 0, wcd937x_get_swr_port, wcd937x_set_swr_port), + SOC_SINGLE_EXT("LO Switch", WCD937X_LO, 0, 1, 0, + wcd937x_get_swr_port, wcd937x_set_swr_port), SOC_SINGLE_EXT("ADC1 Switch", WCD937X_ADC1, 1, 1, 0, wcd937x_get_swr_port, wcd937x_set_swr_port), |