projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9020808
)
ASoC: twl6040: Use correct offset for LineInAmp Right
author
Misael Lopez Cruz
<
[email protected]
>
Sat, 11 Dec 2010 03:06:34 +0000
(21:06 -0600)
committer
Liam Girdwood
<
[email protected]
>
Tue, 14 Dec 2010 20:38:43 +0000
(20:38 +0000)
Gain for LineInAmp Right uses LINEGAIN[5:3], which means that
offset for right channel should be 4.
Signed-off-by: Misael Lopez Cruz <
[email protected]
>
Signed-off-by: Margarita Olaya Cabrera <
[email protected]
>
Acked-by: Mark Brown <
[email protected]
>
Signed-off-by: Liam Girdwood <
[email protected]
>
sound/soc/codecs/twl6040.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/twl6040.c
b/sound/soc/codecs/twl6040.c
index b0ca9f9b70f7d386fa1b2b175e2e23e04f15531c..9dfe208e653907cca45d98ba88dd266f188341db 100644
(file)
--- 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[] = {
/* AFM gains */
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 */
SOC_DOUBLE_TLV("Headset Playback Volume",