summaryrefslogtreecommitdiff
path: root/sound/soc/pxa/z2.c
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2011-01-18 17:54:24 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-18 22:01:57 +0300
commit7cbf70041db039532d6b8972e88164ed45ae6460 (patch)
treeb0d386d64adaa698bb9bbfdf13e1d15a12ff3380 /sound/soc/pxa/z2.c
parent91056acbcb6f58265698a091a1a211f994fdb579 (diff)
downloadlinux-7cbf70041db039532d6b8972e88164ed45ae6460.tar.xz
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 <anarsoul@gmail.com> Acked-by: Marek Vasut <marek.vasut@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/z2.c')
-rw-r--r--sound/soc/pxa/z2.c1
1 files changed, 1 insertions, 0 deletions
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,
},
};