Skip to content

Commit

Permalink
ASoC: PXA: Fix jack detection on Zipit Z2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasily Khoruzhick authored and Mark Brown committed Jan 18, 2011
1 parent 91056ac commit 7cbf700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/pxa/z2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 7cbf700

Please sign in to comment.