[alsa-devel] [PATCH 3/6] ASoC: TWL4030: Enable all audio paths

Peter Ujfalusi peter.ujfalusi at nokia.com
Mon Apr 6 14:19:29 CEST 2009


Enable all TX and RX paths on the TWL codec.
This is not so nice, but doing it runtime brings quite a bit
of challenge, since for example the Digital loopback also needs
the RX and TX paths to be enabled.

In power consumption there is no difference keeping these
enabled or disabled, but this issue worth to be revisited at
some point.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
---
 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 bfda7a8..8b44a88 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -43,7 +43,7 @@
 static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = {
 	0x00, /* this register not used		*/
 	0x91, /* REG_CODEC_MODE		(0x1)	*/
-	0xc3, /* REG_OPTION		(0x2)	*/
+	0xff, /* REG_OPTION		(0x2)	*/
 	0x00, /* REG_UNKNOWN		(0x3)	*/
 	0x00, /* REG_MICBIAS_CTL	(0x4)	*/
 	0x20, /* REG_ANAMICL		(0x5)	*/
-- 
1.6.2.2



More information about the Alsa-devel mailing list