aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2011-07-24 15:59:30 -0400
committerPaolo Pisati <paolo.pisati@canonical.com>2012-08-17 04:18:16 -0400
commit3a8be4cf6057003f9e31b355dcd482aed6dc7efe (patch)
tree09d943ff0ca3a8b69cad4adb1927c4c8a2eb5ca2 /sound/soc/codecs
parent6d963ee0f2ad6e47817502dccd865ac4f043f20d (diff)
Subject: [PATCH 021/104] ASoC: twl6040 - According to TWL6040 specification, gain start at 6dB and not -6dB.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/twl6040.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 4c336636d4f..cd63bba623d 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -954,9 +954,9 @@ static DECLARE_TLV_DB_SCALE(mic_preamp_tlv, -600, 600, 0);
954 954
955/* 955/*
956 * MICGAIN volume control: 956 * MICGAIN volume control:
957 * from -6 to 30 dB in 6 dB steps 957 * from 6 to 30 dB in 6 dB steps
958 */ 958 */
959static DECLARE_TLV_DB_SCALE(mic_amp_tlv, -600, 600, 0); 959static DECLARE_TLV_DB_SCALE(mic_amp_tlv, 600, 600, 0);
960 960
961/* 961/*
962 * AFMGAIN volume control: 962 * AFMGAIN volume control: