aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2011-01-18 16:54:24 +0200
committerMark Brown <[email protected]>2011-01-18 19:01:57 +0000
commit7cbf70041db039532d6b8972e88164ed45ae6460 (patch)
treeb0d386d64adaa698bb9bbfdf13e1d15a12ff3380
parent91056acbcb6f58265698a091a1a211f994fdb579 (diff)
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 <[email protected]> Acked-by: Marek Vasut <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-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,
},
};