ASoC: TWL4030: Use codec defaults for Headset initial configuration
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Wed, 17 Feb 2010 07:49:54 +0000 (09:49 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Feb 2010 14:37:20 +0000 (14:37 +0000)
Disable the amplifiers for the headset outputs, and do not select
routings by default to the headset outputs.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c

index 277862e480e2704912d6372de33d3be667116588..6f5d4af200526ed5477f1870b9c48a048aa2865b 100644 (file)
@@ -75,8 +75,8 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = {
        0x00, /* REG_BTPGA              (0x1F)  */
        0x00, /* REG_BTSTPGA            (0x20)  */
        0x00, /* REG_EAR_CTL            (0x21)  */
-       0x24, /* REG_HS_SEL             (0x22)  */
-       0x0a, /* REG_HS_GAIN_SET        (0x23)  */
+       0x00, /* REG_HS_SEL             (0x22)  */
+       0x00, /* REG_HS_GAIN_SET        (0x23)  */
        0x00, /* REG_HS_POPN_SET        (0x24)  */
        0x00, /* REG_PREDL_CTL          (0x25)  */
        0x00, /* REG_PREDR_CTL          (0x26)  */