From: Vasily Khoruzhick Date: Tue, 18 Jan 2011 14:54:24 +0000 (+0200) Subject: ASoC: PXA: Fix jack detection on Zipit Z2 X-Git-Tag: v2.6.38-rc2~10^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cbf70041db039532d6b8972e88164ed45ae6460;p=platform%2Fkernel%2Flinux-3.10.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 2d4f896..ca0d7e3 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, }, };