提交 53a9ef15 编写于 作者: M Misael Lopez Cruz 提交者: Liam Girdwood

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: NMisael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: NMargarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 9020808b
...@@ -566,7 +566,7 @@ static const struct snd_kcontrol_new twl6040_snd_controls[] = { ...@@ -566,7 +566,7 @@ static const struct snd_kcontrol_new twl6040_snd_controls[] = {
/* AFM gains */ /* AFM gains */
SOC_DOUBLE_TLV("Aux FM Volume", SOC_DOUBLE_TLV("Aux FM Volume",
TWL6040_REG_LINEGAIN, 0, 5, 0xF, 0, afm_amp_tlv), TWL6040_REG_LINEGAIN, 0, 4, 0xF, 0, afm_amp_tlv),
/* Playback gains */ /* Playback gains */
SOC_DOUBLE_TLV("Headset Playback Volume", SOC_DOUBLE_TLV("Headset Playback Volume",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册