All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot
@ 2011-05-26 18:46 Stephen Warren
  2011-05-27  9:19 ` Liam Girdwood
       [not found] ` <1306435610-27810-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Warren @ 2011-05-26 18:46 UTC (permalink / raw)
  To: broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E, lrg-l0cyMroinI0
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, Stephen Warren

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-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 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)) {
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot
  2011-05-26 18:46 [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot Stephen Warren
@ 2011-05-27  9:19 ` Liam Girdwood
       [not found] ` <1306435610-27810-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-05-27  9:19 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-tegra, alsa-devel, broonie

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [alsa-devel] [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot
       [not found] ` <1306435610-27810-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2011-05-27 14:14   ` Mark Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-05-27 14:14 UTC (permalink / raw)
  To: Stephen Warren
  Cc: lrg-l0cyMroinI0, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw

On Thu, May 26, 2011 at 12:46:50PM -0600, 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.

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-27 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 18:46 [PATCH] ASoC: Tegra: Enable Kaen HP_MUTE at boot Stephen Warren
2011-05-27  9:19 ` Liam Girdwood
     [not found] ` <1306435610-27810-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-27 14:14   ` [alsa-devel] " Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.