diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-01-18 14:54:24 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-18 19:01:57 (GMT) |
commit | 7cbf70041db039532d6b8972e88164ed45ae6460 (patch) | |
tree | b0d386d64adaa698bb9bbfdf13e1d15a12ff3380 | |
parent | 91056acbcb6f58265698a091a1a211f994fdb579 (diff) | |
download | linux-fsl-qoriq-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>
-rw-r--r-- | sound/soc/pxa/z2.c | 1 |
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, }, }; |