Browse Source

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>
Ricardo Neri 14 years ago
parent
commit
2763f45d40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sound/soc/codecs/twl6040.c

+ 2 - 2
sound/soc/codecs/twl6040.c

@@ -954,9 +954,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: