All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/17] ASoC: Fix for master playback/capture volume range for TWL4030 codec
@ 2008-11-18 12:38 Mark Brown
  2008-11-18 12:38 ` [PATCH 02/17] ASoC: UDA134x codec driver Mark Brown
  0 siblings, 1 reply; 17+ messages in thread
From: Mark Brown @ 2008-11-18 12:38 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Mark Brown, Peter Ujfalusi

From: Peter Ujfalusi <peter.ujfalusi@nokia.com>

FGAIN for playback is in range of 0-0x3f, while for capture GAIN it
is in the range of 0-0x1f.
The original value of 128 (0x7f) would modify the CGAIN also for
playback.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/twl4030.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index c1893d2..c778eb4 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -192,10 +192,10 @@ static void twl4030_init_chip(struct snd_soc_codec *codec)
 static const struct snd_kcontrol_new twl4030_snd_controls[] = {
 	SOC_DOUBLE_R("Master Playback Volume",
 		 TWL4030_REG_ARXL2PGA, TWL4030_REG_ARXR2PGA,
-		0, 127, 0),
+		0, 0x3f, 0),
 	SOC_DOUBLE_R("Capture Volume",
 		 TWL4030_REG_ATXL1PGA, TWL4030_REG_ATXR1PGA,
-		0, 127, 0),
+		0, 0x1f, 0),
 };
 
 /* add non dapm controls */
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-11-18 12:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 12:38 [PATCH 01/17] ASoC: Fix for master playback/capture volume range for TWL4030 codec Mark Brown
2008-11-18 12:38 ` [PATCH 02/17] ASoC: UDA134x codec driver Mark Brown
2008-11-18 12:38   ` [PATCH 03/17] ASoC: Machine driver for for s3c24xx with uda134x Mark Brown
2008-11-18 12:38     ` [PATCH 04/17] ASoC: Allow writes to uncached registers in WM8990 Mark Brown
2008-11-18 12:38       ` [PATCH 05/17] ASoC: Enable WM8990 ADC clocking workaround Mark Brown
2008-11-18 12:38         ` [PATCH 06/17] ASoC: Manage VMID mode for WM8990 Mark Brown
2008-11-18 12:38           ` [PATCH 07/17] ASoC: Build tlv320aic23 cleanly Mark Brown
2008-11-18 12:38             ` [PATCH 08/17] ASoC: DaVinci: Fix audio stall when doing full duplex Mark Brown
2008-11-18 12:38               ` [PATCH 09/17] ASoC: Blackfin: updates Kconfig for SPORT Mark Brown
2008-11-18 12:38                 ` [PATCH 10/17] ASoC: AD1980 codec: add multi-channel function support Mark Brown
2008-11-18 12:38                   ` [PATCH 11/17] ASoC: Blackfin: " Mark Brown
2008-11-18 12:38                     ` [PATCH 12/17] ASoC: Blackfin: Fix AD1980/1 build with MMAP support disabled Mark Brown
2008-11-18 12:38                       ` [PATCH 13/17] ASoC: Fix Blackfin AC97 DAI probe function return code Mark Brown
2008-11-18 12:38                         ` [PATCH 14/17] ASoC: Blackfin: do not force TWI bus for ssm2602 codec Mark Brown
2008-11-18 12:38                           ` [PATCH 15/17] ASoC: Blackfin: Simplify the MMAP_SUPPORT macros protected code Mark Brown
2008-11-18 12:38                             ` [PATCH 16/17] ASoC: Blackfin: always set a default value for that GPIO range Mark Brown
2008-11-18 12:38                               ` [PATCH 17/17] ASoC: Move uda134x_codec.h to uda134x.h Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.