diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-03-11 04:05:37 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-11 07:03:03 -0500 |
commit | 5f3822c48a96e50ee4183b38e72581428eff8308 (patch) | |
tree | ecacb4daeb327b70f17cfba13d73840c1161db8f /sound/soc | |
parent | 0e45cab64449660fe83bb71208ab43b8d22a5648 (diff) |
ASoC: PXA: z2: Mute internal speaker when headphones are connected
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/pxa/z2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/pxa/z2.c b/sound/soc/pxa/z2.c index 3ceaef68e01d..b0b6c8d7c2f3 100644 --- a/sound/soc/pxa/z2.c +++ b/sound/soc/pxa/z2.c | |||
@@ -95,6 +95,11 @@ static struct snd_soc_jack_pin hs_jack_pins[] = { | |||
95 | .pin = "Headphone Jack", | 95 | .pin = "Headphone Jack", |
96 | .mask = SND_JACK_HEADPHONE, | 96 | .mask = SND_JACK_HEADPHONE, |
97 | }, | 97 | }, |
98 | { | ||
99 | .pin = "Ext Spk", | ||
100 | .mask = SND_JACK_HEADPHONE, | ||
101 | .invert = 1 | ||
102 | }, | ||
98 | }; | 103 | }; |
99 | 104 | ||
100 | /* Headset jack detection gpios */ | 105 | /* Headset jack detection gpios */ |