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-Tag: MMI-PSA29.97-13-9~16612^2~1145^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f3822c48a96e50ee4183b38e72581428eff8308;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 */