| From c921928661eda599d73a6a86e58bdd5aecfa18cb Mon Sep 17 00:00:00 2001 |
| From: Stephen Warren <swarren@nvidia.com> |
| Date: Fri, 24 Aug 2012 21:20:15 -0600 |
| Subject: sound: tegra_alc5632: remove HP detect GPIO inversion |
| |
| From: Stephen Warren <swarren@nvidia.com> |
| |
| 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 | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- 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_al |
| .name = "Headset detection", |
| .report = SND_JACK_HEADSET, |
| .debounce_time = 150, |
| - .invert = 1, |
| }; |
| |
| static const struct snd_soc_dapm_widget tegra_alc5632_dapm_widgets[] = { |