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 <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
anarsoul authored and broonie 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.