aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2011-01-18 16:54:24 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-18 19:01:57 +0000
commit7cbf70041db039532d6b8972e88164ed45ae6460 (patch)
treeb0d386d64adaa698bb9bbfdf13e1d15a12ff3380 /sound/soc/pxa
parent91056acbcb6f58265698a091a1a211f994fdb579 (diff)
downloadkernel_samsung_tuna-7cbf70041db039532d6b8972e88164ed45ae6460.zip
kernel_samsung_tuna-7cbf70041db039532d6b8972e88164ed45ae6460.tar.gz
kernel_samsung_tuna-7cbf70041db039532d6b8972e88164ed45ae6460.tar.bz2
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')
-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 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,
},
};