alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Vasily Khoruzhick <anarsoul@gmail.com>
Cc: Marek Vasut <marek.vasut@gmail.com>,
	alsa-devel <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 1/2] ASoC: PXA: Fix jack detection on Zipit Z2
Date: Tue, 18 Jan 2011 15:09:30 +0000	[thread overview]
Message-ID: <1295363370.3299.41.camel@odin> (raw)
In-Reply-To: <1295362465-21794-1-git-send-email-anarsoul@gmail.com>

On Tue, 2011-01-18 at 16:54 +0200, Vasily Khoruzhick wrote:
> Fix jack detection on Zipit Z2, otherwise it
> disables headphones output when jack is connected
> 
> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
> ---
>  sound/soc/pxa/z2.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/pxa/z2.c b/sound/soc/pxa/z2.c
> index 4cc841b..0da889d 100644
> --- a/sound/soc/pxa/z2.c
> +++ b/sound/soc/pxa/z2.c
> @@ -105,6 +105,7 @@ static struct snd_soc_jack_gpio hs_jack_gpios[] = {
>  		.name		= "hsdet-gpio",
>  		.report		= SND_JACK_HEADSET,
>  		.debounce_time	= 200,
> +		.invert		= 1,
>  	},
>  };

Both

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

  parent reply	other threads:[~2011-01-18 15:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 14:54 [PATCH 1/2] ASoC: PXA: Fix jack detection on Zipit Z2 Vasily Khoruzhick
2011-01-18 14:54 ` [PATCH 2/2] ASoC: PXA: Fix codec address " Vasily Khoruzhick
2011-01-18 15:05   ` Marek Vasut
2011-01-18 15:07     ` Mark Brown
2011-01-18 15:09 ` Liam Girdwood [this message]
2011-01-18 19:01   ` [PATCH 1/2] ASoC: PXA: Fix jack detection " 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=1295363370.3299.41.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=anarsoul@gmail.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --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).