aboutsummaryrefslogtreecommitdiff
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 19:36:13 +0100
commit774441915de8402103ffe5bf68656f160fefc86f (patch)
tree74b3147ff9a4cd112b7b1570cc58df26209179a4 /sound/soc
parentbc9dce5853ced3b7a5bc79f1101a4c4b0a752f3e (diff)
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 174de665056..7933b8c720a 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),