[alsa-devel] [PATCH 3/3] ASoC: tlv320aic3x: add deemphasis switch

Jiri Prchal jiri.prchal at aksignal.cz
Mon Jul 9 09:48:44 CEST 2012


This patch adds missing deemphasis switch.

Signed-off-by: Jiri Prchal <jiri.prchal at aksignal.cz>
---
 sound/soc/codecs/tlv320aic3x.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index bd03f4d..0b17e66 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -381,6 +381,9 @@ static const struct snd_kcontrol_new aic3x_snd_controls[] = {
 	*/
 	SOC_DOUBLE_R("AGC Switch", LAGC_CTRL_A, RAGC_CTRL_A, 7, 0x01, 0),
 
+	/* De-emphasis */
+	SOC_DOUBLE("De-emphasis Switch", AIC3X_CODEC_DFILT_CTRL, 2, 0, 0x01, 0),
+
 	/* Input */
 	SOC_DOUBLE_R_TLV("PGA Capture Volume", LADC_VOL, RADC_VOL,
 			 0, 119, 0, adc_tlv),
-- 
1.7.7



More information about the Alsa-devel mailing list