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:
bf707de
)
ASoC: WM8903: Fix Digital Capture Volume range
author
Stephen Warren
<
[email protected]
>
Mon, 9 May 2011 22:32:03 +0000
(16:32 -0600)
committer
Mark Brown
<
[email protected]
>
Tue, 10 May 2011 09:48:33 +0000
(11:48 +0200)
Increase the range of the Digital Capture Volume control to be 120 steps.
Each step is 0.75dB, and the range starts at -72dB, giving a max setting
of 18dB, which matches the latest datasheet, to the precision of the step
size.
Signed-off-by: Stephen Warren <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8903.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8903.c
b/sound/soc/codecs/wm8903.c
index f52b623bb692c3a0b3954e12e7e5027446a6d136..824d1c8c8a3536b8d2d8b5f36a699c5f808aa2f4 100644
(file)
--- a/
sound/soc/codecs/wm8903.c
+++ b/
sound/soc/codecs/wm8903.c
@@
-692,7
+692,7
@@
SOC_ENUM("DRC Smoothing Threshold", drc_smoothing),
SOC_SINGLE_TLV("DRC Startup Volume", WM8903_DRC_0, 6, 18, 0, drc_tlv_startup),
SOC_DOUBLE_R_TLV("Digital Capture Volume", WM8903_ADC_DIGITAL_VOLUME_LEFT,
- WM8903_ADC_DIGITAL_VOLUME_RIGHT, 1,
96
, 0, digital_tlv),
+ WM8903_ADC_DIGITAL_VOLUME_RIGHT, 1,
120
, 0, digital_tlv),
SOC_ENUM("ADC Companding Mode", adc_companding),
SOC_SINGLE("ADC Companding Switch", WM8903_AUDIO_INTERFACE_0, 3, 1, 0),