Skip to contentSkip to conversation

ASoC: twl6040 - According to TWL6040 specification, gain start at 6dB and not -6dB.

PATCH In review Liam Girdwood 2 participants 3 messages Jun 7, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: twl6040 - According to TWL6040 specification, gain start at 6dB and not -6dB.

---
 sound/soc/codecs/twl6040.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/twl6040.c +2 -2
index 4c33663..cd63bba 100644
@@ -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:
Signature · 1 line
1.7.4.1