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-next>] [day] [month] [year] [list]
Message-Id: <20210402033643.12259-1-steves.lee@maximintegrated.com>
Date:   Fri,  2 Apr 2021 12:36:43 +0900
From:   Steve Lee <steves.lee@...imintegrated.com>
To:     lgirdwood@...il.com, broonie@...nel.org, perex@...ex.cz,
        tiwai@...e.com, ckeepax@...nsource.cirrus.com,
        geert@...ux-m68k.org, rf@...nsource.wolfsonmicro.com,
        shumingf@...ltek.com, srinivas.kandagatla@...aro.org,
        krzk@...nel.org, dmurphy@...com, jack.yu@...ltek.com,
        nuno.sa@...log.com, steves.lee@...imintegrated.com,
        linux-kernel@...r.kernel.org, alsa-devel@...a-project.org
Cc:     ryan.lee.maxim@...il.com, steves.lee.maxim@...il.com
Subject: [PATCH] ASoC: max98390: Add controls for tx path

 Add controls for tx source.

Signed-off-by: Steve Lee <steves.lee@...imintegrated.com>
---
 sound/soc/codecs/max98390.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c
index bb736c44e68a..163093959da8 100644
--- a/sound/soc/codecs/max98390.c
+++ b/sound/soc/codecs/max98390.c
@@ -656,6 +656,12 @@ static const struct snd_kcontrol_new max98390_snd_controls[] = {
 		MAX98390_AMP_DSP_CFG_RMP_DN_SHIFT, 1, 0),
 	SOC_SINGLE("Boost Clock Phase", MAX98390_BOOST_CTRL3,
 		MAX98390_BOOST_CLK_PHASE_CFG_SHIFT, 3, 0),
+	SOC_SINGLE("Tx Enable Selection", MAX98390_PCM_TX_EN_A,
+		0, 255, 0),
+	SOC_SINGLE("Tx Hiz Selection", MAX98390_PCM_TX_HIZ_CTRL_A,
+		0, 255, 0),
+	SOC_SINGLE("Tx Source Selection", MAX98390_PCM_CH_SRC_2,
+		0, 255, 0),
 	SOC_ENUM("Boost Output Voltage", max98390_boost_voltage),
 	SOC_ENUM("Current Limit", max98390_current_limit),
 	SOC_SINGLE_EXT("DSM Rdc", SND_SOC_NOPM, 0, 0xffffff, 0,
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ