From: Liam Girdwood <lrg@ti.com>
To: Stephen Warren <swarren@nvidia.com>
Cc: "linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot
Date: Fri, 27 May 2011 10:19:39 +0100 [thread overview]
Message-ID: <4DDF6CAB.2080409@ti.com> (raw)
In-Reply-To: <1306435610-27810-1-git-send-email-swarren@nvidia.com>
On 26/05/11 19:46, Stephen Warren wrote:
> We want the default state of the HP_MUTE signal to be asserted, so that
> the headphones are muted before the first audio playback. Without this,
> the headphones are left unmuted until shortly after the first audio
> playback completes.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> sound/soc/tegra/tegra_wm8903.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
> index 0d6738a..a42e9ac 100644
> --- a/sound/soc/tegra/tegra_wm8903.c
> +++ b/sound/soc/tegra/tegra_wm8903.c
> @@ -267,7 +267,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
> }
> machine->gpio_requested |= GPIO_HP_MUTE;
>
> - gpio_direction_output(pdata->gpio_hp_mute, 0);
> + gpio_direction_output(pdata->gpio_hp_mute, 1);
> }
>
> if (gpio_is_valid(pdata->gpio_int_mic_en)) {
Acked-by: Liam Girdwood <lrg@ti.com>
next prev parent reply other threads:[~2011-05-27 9:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 18:46 [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot Stephen Warren
2011-05-27 9:19 ` Liam Girdwood [this message]
[not found] ` <1306435610-27810-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-27 14:14 ` [alsa-devel] " 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=4DDF6CAB.2080409@ti.com \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-tegra@vger.kernel.org \
--cc=swarren@nvidia.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