diff options
author | Olaya, Margarita <magi.olaya@ti.com> | 2010-12-11 04:06:39 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-14 21:37:11 +0100 |
commit | 9020808b4d9ff6b7eebb026492dba6a805309df8 (patch) | |
tree | 7ea1499f9a87da6a8a03d80201663d07d09ec8d2 /sound | |
parent | ASoC: twl6040: Increase timeout for power up (diff) | |
download | linux-9020808b4d9ff6b7eebb026492dba6a805309df8.tar.xz 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>
Diffstat (limited to 'sound')
-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: |