diff options
author | Olaya, Margarita <magi.olaya@ti.com> | 2010-12-10 22:06:39 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-14 15:37:11 -0500 |
commit | 9020808b4d9ff6b7eebb026492dba6a805309df8 (patch) | |
tree | 7ea1499f9a87da6a8a03d80201663d07d09ec8d2 /sound/soc/codecs | |
parent | cbd9cb5de3182d688544611c019b06bf04e2ad06 (diff) |
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/soc/codecs')
-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); | |||
471 | 471 | ||
472 | /* | 472 | /* |
473 | * MICGAIN volume control: | 473 | * MICGAIN volume control: |
474 | * from 6 to 30 dB in 6 dB steps | 474 | * from -6 to 30 dB in 6 dB steps |
475 | */ | 475 | */ |
476 | static DECLARE_TLV_DB_SCALE(mic_amp_tlv, 600, 600, 0); | 476 | static DECLARE_TLV_DB_SCALE(mic_amp_tlv, -600, 600, 0); |
477 | 477 | ||
478 | /* | 478 | /* |
479 | * AFMGAIN volume control: | 479 | * AFMGAIN volume control: |