ASoC: PXA: z2: Mute internal speaker when headphones are connected

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Vasily Khoruzhick 2011-03-11 11:05:37 +02:00 committed by Mark Brown
parent 0e45cab644
commit 5f3822c48a

View File

@ -95,6 +95,11 @@ static struct snd_soc_jack_pin hs_jack_pins[] = {
.pin = "Headphone Jack", .pin = "Headphone Jack",
.mask = SND_JACK_HEADPHONE, .mask = SND_JACK_HEADPHONE,
}, },
{
.pin = "Ext Spk",
.mask = SND_JACK_HEADPHONE,
.invert = 1
},
}; };
/* Headset jack detection gpios */ /* Headset jack detection gpios */