]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ASoC: twl6040 - According to TWL6040 specification, gain start at 6dB and not -6dB.
authorRicardo Neri <ricardo.neri@ti.com>
Sun, 1 May 2011 14:35:55 +0000 (15:35 +0100)
committerLiam Girdwood <lrg@ti.com>
Wed, 8 Jun 2011 18:52:17 +0000 (19:52 +0100)
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>
sound/soc/codecs/twl6040.c

index 4c336636d4f5bbc55bd3b2b979fef6ad4936ac4c..cd63bba623df712fc626735c706ee06252771dc5 100644 (file)
@@ -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: