diff options
author | Olaya, Margarita <magi.olaya@ti.com> | 2010-12-10 21:06:39 -0600 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-14 20:37:11 +0000 |
commit | 9020808b4d9ff6b7eebb026492dba6a805309df8 (patch) | |
tree | 7ea1499f9a87da6a8a03d80201663d07d09ec8d2 | |
parent | cbd9cb5de3182d688544611c019b06bf04e2ad06 (diff) | |
download | linux-9020808b4d9ff6b7eebb026492dba6a805309df8.tar.gz linux-9020808b4d9ff6b7eebb026492dba6a805309df8.tar.bz2 linux-9020808b4d9ff6b7eebb026492dba6a805309df8.zip |
ASoC: twl6040: Fix TLV dB step values for gains
Some gains were incorrectly configured for dB values.
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r-- | sound/soc/codecs/twl6040.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 39f0bc5145c0..b0ca9f9b70f7 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -471,9 +471,9 @@ static DECLARE_TLV_DB_SCALE(mic_preamp_tlv, -600, 600, 0); /* * MICGAIN volume control: - * from 6 to 30 dB in 6 dB steps + * from -6 to 30 dB in 6 dB steps */ -static DECLARE_TLV_DB_SCALE(mic_amp_tlv, 600, 600, 0); +static DECLARE_TLV_DB_SCALE(mic_amp_tlv, -600, 600, 0); /* * AFMGAIN volume control: |