From: Vasily Khoruzhick <anarsoul@gmail.com>
To: alsa-devel <alsa-devel@alsa-project.org>,
Liam Girdwood <lrg@slimlogic.co.uk>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Marek Vasut <marek.vasut@gmail.com>
Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Subject: [PATCH 1/2] ASoC: PXA: z2: Mute internal speaker when headphones are connected
Date: Fri, 11 Mar 2011 11:05:37 +0200 [thread overview]
Message-ID: <1299834338-9185-1-git-send-email-anarsoul@gmail.com> (raw)
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
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 3ceaef6..b0b6c8d 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[] = {
.pin = "Headphone Jack",
.mask = SND_JACK_HEADPHONE,
},
+ {
+ .pin = "Ext Spk",
+ .mask = SND_JACK_HEADPHONE,
+ .invert = 1
+ },
};
/* Headset jack detection gpios */
--
1.7.4.1
next reply other threads:[~2011-03-11 9:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 9:05 Vasily Khoruzhick [this message]
2011-03-11 9:05 ` [PATCH 2/2] ASoC: PXA: Z2: Fix codec pin name Vasily Khoruzhick
2011-03-11 11:15 ` [PATCH 1/2] ASoC: PXA: z2: Mute internal speaker when headphones are connected Liam Girdwood
2011-03-11 12:06 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299834338-9185-1-git-send-email-anarsoul@gmail.com \
--to=anarsoul@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=lrg@slimlogic.co.uk \
--cc=marek.vasut@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).