ASoC: Fix headset output for GTA02
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Mar 2009 21:01:12 +0000 (21:01 +0000)
committerAndy Green <agreen@octopus.localdomain>
Mon, 9 Mar 2009 21:01:12 +0000 (21:01 +0000)
At least one of the speaker options should disable the speaker.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/neo1973_gta02_wm8753.c

index c682a09..d9fe7d1 100644 (file)
@@ -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;