[alsa-devel] [PATCH] sound: tegra_alc5632: remove HP detect GPIO inversion

Stephen Warren swarren at wwwdotorg.org
Sat Aug 25 05:20:15 CEST 2012


From: Stephen Warren <swarren at nvidia.com>

Both the schematics and practical testing show that the HP detect GPIO
is high when the headphones are plugged in. Hence, the snd_soc_jack_gpio
should not specify to invert the signal.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
Cc: Marc Dietrich <marvin24 at gmx.de>
Cc: Leon Romanovsky <leon at leon.nu>
Cc: <stable at vger.kernel.org> # v3.4 v3.5
---
 sound/soc/tegra/tegra_alc5632.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c
index e463529..76cb1b3 100644
--- a/sound/soc/tegra/tegra_alc5632.c
+++ b/sound/soc/tegra/tegra_alc5632.c
@@ -89,7 +89,6 @@ static struct snd_soc_jack_gpio tegra_alc5632_hp_jack_gpio = {
 	.name = "Headset detection",
 	.report = SND_JACK_HEADSET,
 	.debounce_time = 150,
-	.invert = 1,
 };
 
 static const struct snd_soc_dapm_widget tegra_alc5632_dapm_widgets[] = {
-- 
1.7.9.5



More information about the Alsa-devel mailing list