From: Olaya, Margarita Date: Sat, 11 Dec 2010 03:06:39 +0000 (-0600) Subject: ASoC: twl6040: Fix TLV dB step values for gains X-Git-Tag: v2.6.38-rc1~236^2^2~39^2^2~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9020808b4d9ff6b7eebb026492dba6a805309df8;p=~emulex%2Finfiniband.git ASoC: twl6040: Fix TLV dB step values for gains Some gains were incorrectly configured for dB values. Signed-off-by: Margarita Olaya Cabrera Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 39f0bc5145c..b0ca9f9b70f 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: