diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2010-12-10 22:06:34 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-12-14 15:38:43 -0500 |
commit | 53a9ef15df8c0dc688fae33277a252f0dd2faf2d (patch) | |
tree | ab47465189bf9bd1bc3efaecc8baeb10dd7e97b3 /sound/soc/codecs | |
parent | 9020808b4d9ff6b7eebb026492dba6a805309df8 (diff) |
ASoC: twl6040: Use correct offset for LineInAmp Right
Gain for LineInAmp Right uses LINEGAIN[5:3], which means that
offset for right channel should be 4.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index b0ca9f9b70f7..9dfe208e6539 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -566,7 +566,7 @@ static const struct snd_kcontrol_new twl6040_snd_controls[] = { | |||
566 | 566 | ||
567 | /* AFM gains */ | 567 | /* AFM gains */ |
568 | SOC_DOUBLE_TLV("Aux FM Volume", | 568 | SOC_DOUBLE_TLV("Aux FM Volume", |
569 | TWL6040_REG_LINEGAIN, 0, 5, 0xF, 0, afm_amp_tlv), | 569 | TWL6040_REG_LINEGAIN, 0, 4, 0xF, 0, afm_amp_tlv), |
570 | 570 | ||
571 | /* Playback gains */ | 571 | /* Playback gains */ |
572 | SOC_DOUBLE_TLV("Headset Playback Volume", | 572 | SOC_DOUBLE_TLV("Headset Playback Volume", |