[PATCH] ASoC: Fix headset output for GTA02

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Mar 9 00:53:29 CET 2009


At least one of the speaker options should disable the speaker.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/s3c24xx/neo1973_gta02_wm8753.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
index c682a09..d9fe7d1 100644
--- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
@@ -247,7 +247,7 @@ static int lm4853_set_spk(struct snd_kcontrol *kcontrol,
 		s3c2410_gpio_setpin(GTA02_GPIO_HP_IN,0);
 	} else {
 		lm4853_state &= ~LM4853_SPK;
-		s3c2410_gpio_setpin(GTA02_GPIO_HP_IN,0);
+		s3c2410_gpio_setpin(GTA02_GPIO_HP_IN,1);
 	}
 
 	return 0;
-- 
1.5.6.3




More information about the openmoko-kernel mailing list