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:
f972d02
)
ASoC: es8316: fix inverted L/R of headphone mixer volume
author
Katsuhiro Suzuki
<katsuhiro@katsuster.net>
Mon, 26 Aug 2019 15:39:00 +0000
(
00:39
+0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 27 Aug 2019 19:38:27 +0000
(20:38 +0100)
This patch fixes inverted Left-Right channel of headphone mixer
volume by wrong shift_left, shift_right values.
Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
Reviewed-by: Daniel Drake <drake@endlessm.com>
Link:
https://lore.kernel.org/r/20190826153900.25969-2-katsuhiro@katsuster.net
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8316.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/es8316.c
b/sound/soc/codecs/es8316.c
index 96d04896193f2499b0ed7039d4a2a0605a16b44d..ed2959dbe1fbd842cf66db766acbb857547f4360 100644
(file)
--- a/
sound/soc/codecs/es8316.c
+++ b/
sound/soc/codecs/es8316.c
@@
-92,7
+92,7
@@
static const struct snd_kcontrol_new es8316_snd_controls[] = {
SOC_DOUBLE_TLV("Headphone Playback Volume", ES8316_CPHP_ICAL_VOL,
4, 0, 3, 1, hpout_vol_tlv),
SOC_DOUBLE_TLV("Headphone Mixer Volume", ES8316_HPMIX_VOL,
-
0, 4
, 11, 0, hpmixer_gain_tlv),
+
4, 0
, 11, 0, hpmixer_gain_tlv),
SOC_ENUM("Playback Polarity", dacpol),
SOC_DOUBLE_R_TLV("DAC Playback Volume", ES8316_DAC_VOLL,