Skip to content

Commit

Permalink
ASoC: PXA: z2: Mute internal speaker when headphones are connected
Browse files Browse the repository at this point in the history
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Vasily Khoruzhick authored and Mark Brown committed Mar 11, 2011
1 parent 0e45cab commit 5f3822c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/soc/pxa/z2.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ static struct snd_soc_jack_pin hs_jack_pins[] = {
.pin = "Headphone Jack",
.mask = SND_JACK_HEADPHONE,
},
{
.pin = "Ext Spk",
.mask = SND_JACK_HEADPHONE,
.invert = 1
},
};

/* Headset jack detection gpios */
Expand Down

0 comments on commit 5f3822c

Please sign in to comment.