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

sound: tegra_alc5632: remove HP detect GPIO inversion

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: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarAndrey Danin <danindrey@mail.ru>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Cc: <stable@vger.kernel.org> # v3.4 v3.5
parent b969afc8
...@@ -89,7 +89,6 @@ static struct snd_soc_jack_gpio tegra_alc5632_hp_jack_gpio = { ...@@ -89,7 +89,6 @@ static struct snd_soc_jack_gpio tegra_alc5632_hp_jack_gpio = {
.name = "Headset detection", .name = "Headset detection",
.report = SND_JACK_HEADSET, .report = SND_JACK_HEADSET,
.debounce_time = 150, .debounce_time = 150,
.invert = 1,
}; };
static const struct snd_soc_dapm_widget tegra_alc5632_dapm_widgets[] = { static const struct snd_soc_dapm_widget tegra_alc5632_dapm_widgets[] = {
......
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