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

Prchal Jiří jiri.prchal at aksignal.cz
Fri Jun 29 10:53:32 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 4ed6c20..2265e94 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_ENUM("Left AGC Decay time", aic3x_agc_enum[LAGC_DEC_ENUM]),
  	SOC_ENUM("Right AGC Decay time", aic3x_agc_enum[RAGC_DEC_ENUM]),

+	/* 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