ASoC: tlv320aic3x: add deemphasis switch
authorJiri Prchal <jiri.prchal@aksignal.cz>
Mon, 9 Jul 2012 07:48:44 +0000 (09:48 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Jul 2012 18:36:13 +0000 (19:36 +0100)
This patch adds missing deemphasis switch.

Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c

index 174de66505631e6d91817432e45fd8d1e62f90e8..7933b8c720af62f561ce6ea0adc5232fe0295bf9 100644 (file)
@@ -356,6 +356,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),