]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sound: tegra_alc5632: remove HP detect GPIO inversion
authorStephen Warren <swarren@nvidia.com>
Sat, 25 Aug 2012 03:20:15 +0000 (21:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:07 +0000 (10:39 -0700)
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>
sound/soc/tegra/tegra_alc5632.c

index 32de7006daf08975e5a3edb4e4e8b9bfe029b572..2f272c5a8ea5d49ef39ad53f9ba0265e4ad5a67a 100644 (file)
@@ -92,7 +92,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[] = {