Commit a5fe6be4 authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown

ASoC: Tegra: Enable Kaen HP_MUTE at boot

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: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2ac8b6f4
...@@ -267,7 +267,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd) ...@@ -267,7 +267,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
} }
machine->gpio_requested |= GPIO_HP_MUTE; 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)) { if (gpio_is_valid(pdata->gpio_int_mic_en)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment