ASoC: TWL4030: Disable soft-volume
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Mon, 24 Nov 2008 06:25:45 +0000 (08:25 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Nov 2008 14:05:39 +0000 (14:05 +0000)
Keep Soft-volume disabled for now, since if it is enabled
the FGAIN volume controls are not working in the current
configuration:
CODEC_MODE:OPT_MODE = 1
OPTION:ARXR2_EN = 1
OPTION:ARXL2_EN = 1
OPTION:ARXR1_EN = 0
OPTION:ARXL1_VRX_EN = 0
RX_PATH_SEL:RXL1_SEL = 0x0 (or 0x1)
RX_PATH_SEL:RXR1_SEL = 0x0 (or 0x1)

After the patch, FGAIN volume control works.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c

index 3348951..49c7da3 100644 (file)
@@ -87,7 +87,7 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = {
        0x00, /* REG_ALC_SET1           (0x2C)  */
        0x00, /* REG_ALC_SET2           (0x2D)  */
        0x00, /* REG_BOOST_CTL          (0x2E)  */
-       0x01, /* REG_SOFTVOL_CTL        (0x2F)  */
+       0x00, /* REG_SOFTVOL_CTL        (0x2F)  */
        0x00, /* REG_DTMF_FREQSEL       (0x30)  */
        0x00, /* REG_DTMF_TONEXT1H      (0x31)  */
        0x00, /* REG_DTMF_TONEXT1L      (0x32)  */