projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e45cab
)
ASoC: PXA: z2: Mute internal speaker when headphones are connected
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Fri, 11 Mar 2011 09:05:37 +0000
(11:05 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 11 Mar 2011 12:03:03 +0000
(12:03 +0000)
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/z2.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/pxa/z2.c
b/sound/soc/pxa/z2.c
index 3ceaef68e01de7aebab8d7d16a6715d3bcfedfbb..b0b6c8d7c2f3f3acdf2a668429fc053a530edd83 100644
(file)
--- 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[] = {
.pin = "Headphone Jack",
.mask = SND_JACK_HEADPHONE,
},
+ {
+ .pin = "Ext Spk",
+ .mask = SND_JACK_HEADPHONE,
+ .invert = 1
+ },
};
/* Headset jack detection gpios */