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:
1a695a9
)
ASoC: rt5670: fix HP Playback Volume control
author
Bard Liao
<
[email protected]
>
Tue, 7 Jun 2016 03:03:08 +0000
(11:03 +0800)
committer
Mark Brown
<
[email protected]
>
Tue, 7 Jun 2016 10:43:20 +0000
(11:43 +0100)
The register setting for HP Playback Volume is inverted. So, set
the invert flag in SOC_DOUBLE_TLV.
Signed-off-by: Bard Liao <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt5670.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5670.c
b/sound/soc/codecs/rt5670.c
index 49a9e7049e2ba1457621cd549ca3722cce0a0688..0af5ddbef1daaa0b4fa7dbfc89c72c52b6a84bfd 100644
(file)
--- a/
sound/soc/codecs/rt5670.c
+++ b/
sound/soc/codecs/rt5670.c
@@
-619,7
+619,7
@@
static const struct snd_kcontrol_new rt5670_snd_controls[] = {
RT5670_L_MUTE_SFT, RT5670_R_MUTE_SFT, 1, 1),
SOC_DOUBLE_TLV("HP Playback Volume", RT5670_HP_VOL,
RT5670_L_VOL_SFT, RT5670_R_VOL_SFT,
- 39,
0
, out_vol_tlv),
+ 39,
1
, out_vol_tlv),
/* OUTPUT Control */
SOC_DOUBLE("OUT Channel Switch", RT5670_LOUT1,
RT5670_VOL_L_SFT, RT5670_VOL_R_SFT, 1, 1),