summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-08-24 21:20:15 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 10:29:54 -0700
commit9b52a3b313497af37dcdba4ba4c0c95809db525c (patch)
tree2576701b4d08c2a0b7bfcf332073c1a5328549ee
parent2ad98b042313307859bf2f332b95b6588ec0ba0d (diff)
downloadlinux-3.10-9b52a3b313497af37dcdba4ba4c0c95809db525c.tar.gz
linux-3.10-9b52a3b313497af37dcdba4ba4c0c95809db525c.tar.bz2
linux-3.10-9b52a3b313497af37dcdba4ba4c0c95809db525c.zip
sound: tegra_alc5632: remove HP detect GPIO inversion
commit c921928661eda599d73a6a86e58bdd5aecfa18cb upstream. 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@nvidia.com> Acked-by: Andrey Danin <danindrey@mail.ru> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/soc/tegra/tegra_alc5632.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c
index e45ccd851f6..76d759ec40a 100644
--- a/sound/soc/tegra/tegra_alc5632.c
+++ b/sound/soc/tegra/tegra_alc5632.c
@@ -95,7 +95,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[] = {