* [PATCH] ASoC: WM8903: Fix Digital Capture Volume range
@ 2011-05-09 22:32 Stephen Warren
2011-05-10 9:38 ` Liam Girdwood
2011-05-10 9:49 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Warren @ 2011-05-09 22:32 UTC (permalink / raw)
To: broonie, lrg; +Cc: alsa-devel, Stephen Warren
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.
Tested-on: Seaboard non-clamshell.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
sound/soc/codecs/wm8903.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index f3cab84..957cd66 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -699,7 +699,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),
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: WM8903: Fix Digital Capture Volume range
2011-05-09 22:32 [PATCH] ASoC: WM8903: Fix Digital Capture Volume range Stephen Warren
@ 2011-05-10 9:38 ` Liam Girdwood
2011-05-10 9:49 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-05-10 9:38 UTC (permalink / raw)
To: Stephen Warren; +Cc: alsa-devel, broonie
On Mon, 2011-05-09 at 16:32 -0600, Stephen Warren wrote:
> 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.
>
> Tested-on: Seaboard non-clamshell.
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> sound/soc/codecs/wm8903.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
> index f3cab84..957cd66 100644
> --- a/sound/soc/codecs/wm8903.c
> +++ b/sound/soc/codecs/wm8903.c
> @@ -699,7 +699,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),
>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: WM8903: Fix Digital Capture Volume range
2011-05-09 22:32 [PATCH] ASoC: WM8903: Fix Digital Capture Volume range Stephen Warren
2011-05-10 9:38 ` Liam Girdwood
@ 2011-05-10 9:49 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-05-10 9:49 UTC (permalink / raw)
To: Stephen Warren; +Cc: alsa-devel, lrg
On Mon, May 09, 2011 at 04:32:03PM -0600, Stephen Warren wrote:
> 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.
>
> Tested-on: Seaboard non-clamshell.
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-10 9:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09 22:32 [PATCH] ASoC: WM8903: Fix Digital Capture Volume range Stephen Warren
2011-05-10 9:38 ` Liam Girdwood
2011-05-10 9:49 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).