[alsa-devel] [PATCH 1/4] soc/sound: tegra_max98090: do not invert headphone jack

Jonathan Tinkham sctincman at gmail.com
Thu Feb 4 06:30:59 CET 2016


The headphone jack should not be inverted

Signed-off-by: Jonathan Tinkham <sctincman at gmail.com>
---
 sound/soc/tegra/tegra_max98090.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c
index 902da36..b373d06 100644
--- a/sound/soc/tegra/tegra_max98090.c
+++ b/sound/soc/tegra/tegra_max98090.c
@@ -110,7 +110,7 @@ static struct snd_soc_jack_gpio tegra_max98090_hp_jack_gpio = {
 	.name = "Headphone detection",
 	.report = SND_JACK_HEADPHONE,
 	.debounce_time = 150,
-	.invert = 1,
+	.invert = 0,
 };
 
 static struct snd_soc_jack tegra_max98090_mic_jack;
-- 
2.7.0



More information about the Alsa-devel mailing list