summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorJiri Prchal <jiri.prchal@aksignal.cz>2012-07-09 09:48:44 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-09 20:36:13 +0200
commit774441915de8402103ffe5bf68656f160fefc86f (patch)
tree74b3147ff9a4cd112b7b1570cc58df26209179a4 /sound/soc
parentASoC: wm5102: Fix cut'n'paste for digital volume registers (diff)
downloadlinux-774441915de8402103ffe5bf68656f160fefc86f.tar.xz
linux-774441915de8402103ffe5bf68656f160fefc86f.zip
ASoC: tlv320aic3x: add deemphasis switch
This patch adds missing deemphasis switch. Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/tlv320aic3x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index 174de6650563..7933b8c720af 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -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),