From: Vasily Khoruzhick Date: Fri, 11 Mar 2011 09:05:37 +0000 (+0200) Subject: ASoC: PXA: z2: Mute internal speaker when headphones are connected X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f3822c48a96e50ee4183b38e72581428eff8308;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ASoC: PXA: z2: Mute internal speaker when headphones are connected Signed-off-by: Vasily Khoruzhick Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/pxa/z2.c b/sound/soc/pxa/z2.c index 3ceaef68e01d..b0b6c8d7c2f3 100644 --- a/sound/soc/pxa/z2.c +++ b/sound/soc/pxa/z2.c @@ -95,6 +95,11 @@ static struct snd_soc_jack_pin hs_jack_pins[] = { .pin = "Headphone Jack", .mask = SND_JACK_HEADPHONE, }, + { + .pin = "Ext Spk", + .mask = SND_JACK_HEADPHONE, + .invert = 1 + }, }; /* Headset jack detection gpios */