diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2008-11-24 01:25:45 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-24 09:05:39 -0500 |
commit | f8d05bdbb07458e5f2c6a8281bde08056836fea6 (patch) | |
tree | 9615c0d5160ec648e7c914df8902f3ba943af26e /sound/soc/codecs/twl4030.c | |
parent | 55b8bac50a494871594e81a05b37c15e7283f868 (diff) |
ASoC: TWL4030: Disable soft-volume
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>
Diffstat (limited to 'sound/soc/codecs/twl4030.c')
-rw-r--r-- | sound/soc/codecs/twl4030.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index 33489515b928..49c7da39497e 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c | |||
@@ -87,7 +87,7 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = { | |||
87 | 0x00, /* REG_ALC_SET1 (0x2C) */ | 87 | 0x00, /* REG_ALC_SET1 (0x2C) */ |
88 | 0x00, /* REG_ALC_SET2 (0x2D) */ | 88 | 0x00, /* REG_ALC_SET2 (0x2D) */ |
89 | 0x00, /* REG_BOOST_CTL (0x2E) */ | 89 | 0x00, /* REG_BOOST_CTL (0x2E) */ |
90 | 0x01, /* REG_SOFTVOL_CTL (0x2F) */ | 90 | 0x00, /* REG_SOFTVOL_CTL (0x2F) */ |
91 | 0x00, /* REG_DTMF_FREQSEL (0x30) */ | 91 | 0x00, /* REG_DTMF_FREQSEL (0x30) */ |
92 | 0x00, /* REG_DTMF_TONEXT1H (0x31) */ | 92 | 0x00, /* REG_DTMF_TONEXT1H (0x31) */ |
93 | 0x00, /* REG_DTMF_TONEXT1L (0x32) */ | 93 | 0x00, /* REG_DTMF_TONEXT1L (0x32) */ |