lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241022033132.787416-2-alexey.klimov@linaro.org>
Date: Tue, 22 Oct 2024 04:31:30 +0100
From: Alexey Klimov <alexey.klimov@...aro.org>
To: srinivas.kandagatla@...aro.org,
	quic_pkumpatl@...cinc.com,
	a39.skl@...il.com,
	quic_mohs@...cinc.com
Cc: linux-sound@...r.kernel.org,
	krzysztof.kozlowski@...aro.org,
	lgirdwood@...il.com,
	broonie@...nel.org,
	perex@...ex.cz,
	tiwai@...e.com,
	dmitry.baryshkov@...aro.org,
	linux-kernel@...r.kernel.org
Subject: [RFC PATCH 1/2] 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 <a39.skl@...il.com>
Reported-by: Prasad Kumpatla <quic_pkumpatl@...cinc.com>
Suggested-by: Adam Skladowski <a39.skl@...il.com>
Suggested-by: Prasad Kumpatla <quic_pkumpatl@...cinc.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Cc: Mohammad Rafi Shaik <quic_mohs@...cinc.com>
Signed-off-by: Alexey Klimov <alexey.klimov@...aro.org>
---
 sound/soc/codecs/wcd937x.c | 2 ++
 1 file changed, 2 insertions(+)

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),
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ