ASoC: tegra: Read and use the GPIO flags of the headphone detect
authorAlban Bedel <alban.bedel@avionic-design.de>
Tue, 21 Oct 2014 15:33:29 +0000 (17:33 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 21 Oct 2014 21:23:37 +0000 (22:23 +0100)
commit469cda294dac1c4128e9adcb0a94636bc0cb280e
tree0da6b84637c4367bacdc3cf41c78698ab5003657
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: tegra: Read and use the GPIO flags of the headphone detect

The headphone detect was hardcoded to low-active, use the flags from
DT to allow high-active as well.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra_rt5640.c