projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba4dc3
)
ASoC: max9867: fix ADC level control
author
Pavel Dobias
<dobias@2n.cz>
Wed, 20 May 2020 07:18:59 +0000
(09:18 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 20 May 2020 13:47:39 +0000
(14:47 +0100)
Fix swapped channels in ADC level control.
Signed-off-by: Pavel Dobias <dobias@2n.cz>
Link:
https://lore.kernel.org/r/20200520071904.15801-1-dobias@2n.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max9867.c
b/sound/soc/codecs/max9867.c
index
2e4aa23
..
6d49a1c
100644
(file)
--- a/
sound/soc/codecs/max9867.c
+++ b/
sound/soc/codecs/max9867.c
@@
-58,7
+58,7
@@
static const struct snd_kcontrol_new max9867_snd_controls[] = {
max9867_dac_tlv),
SOC_SINGLE_TLV("Digital Boost Playback Volume", MAX9867_DACLEVEL, 4, 3, 0,
max9867_dacboost_tlv),
- SOC_DOUBLE_TLV("Digital Capture Volume", MAX9867_ADCLEVEL,
0, 4
, 15, 1,
+ SOC_DOUBLE_TLV("Digital Capture Volume", MAX9867_ADCLEVEL,
4, 0
, 15, 1,
max9867_adc_tlv),
SOC_ENUM("Speaker Mode", max9867_spkmode),
SOC_SINGLE("Volume Smoothing Switch", MAX9867_MODECONFIG, 6, 1, 0),