From: Vasily Khoruzhick Date: Tue, 18 Jan 2011 14:54:24 +0000 (+0200) Subject: ASoC: PXA: Fix jack detection on Zipit Z2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7cbf70041db039532d6b8972e88164ed45ae6460;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ASoC: PXA: Fix jack detection on Zipit Z2 Fix jack detection on Zipit Z2, otherwise it disables headphones output when jack is connected Signed-off-by: Vasily Khoruzhick Acked-by: Marek Vasut Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/pxa/z2.c b/sound/soc/pxa/z2.c index 2d4f896d7fec..ca0d7e342407 100644 --- a/sound/soc/pxa/z2.c +++ b/sound/soc/pxa/z2.c @@ -104,6 +104,7 @@ static struct snd_soc_jack_gpio hs_jack_gpios[] = { .name = "hsdet-gpio", .report = SND_JACK_HEADSET, .debounce_time = 200, + .invert = 1, }, };