projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e4ab8
)
ASoC: wm8960: Fix ADC volume bits
author
Ma Haijun
<mahaijuns@gmail.com>
Wed, 14 Aug 2013 01:15:38 +0000
(09:15 +0800)
committer
Mark Brown
<broonie@linaro.org>
Wed, 14 Aug 2013 18:16:29 +0000
(19:16 +0100)
Signed-off-by: Ma Haijun <mahaijuns@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8960.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8960.c
b/sound/soc/codecs/wm8960.c
index 0a4ffdd1d2a70eb19c22445365d0acc5cc854dee..368d39f19cdbb1b58aa3494c63624ecda7437f30 100644
(file)
--- a/
sound/soc/codecs/wm8960.c
+++ b/
sound/soc/codecs/wm8960.c
@@
-263,8
+263,8
@@
SOC_SINGLE("ALC Attack", WM8960_ALC3, 0, 15, 0),
SOC_SINGLE("Noise Gate Threshold", WM8960_NOISEG, 3, 31, 0),
SOC_SINGLE("Noise Gate Switch", WM8960_NOISEG, 0, 1, 0),
-SOC_DOUBLE_R
("ADC PCM Capture Volume", WM8960_LINPATH, WM8960_RINPATH
,
- 0,
127, 0
),
+SOC_DOUBLE_R
_TLV("ADC PCM Capture Volume", WM8960_LADC, WM8960_RADC
,
+ 0,
255, 0, adc_tlv
),
SOC_SINGLE_TLV("Left Output Mixer Boost Bypass Volume",
WM8960_BYPASS1, 4, 7, 1, bypass_tlv),