diff options
author | João H. Spies <jhlspies@gmail.com> | 2020-06-23 18:19:45 -0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-06-25 10:18:22 +0200 |
commit | 9fbbb7ddd96ed68e75a4e8f194225b5297f62bd4 (patch) | |
tree | 6c7902029bd627ad8d34be90070c8d50023874bc | |
parent | 03e62fd67d3ab33f39573fc8787d89dc9b4d7255 (diff) | |
download | linux-stable-9fbbb7ddd96ed68e75a4e8f194225b5297f62bd4.tar.gz linux-stable-9fbbb7ddd96ed68e75a4e8f194225b5297f62bd4.tar.bz2 linux-stable-9fbbb7ddd96ed68e75a4e8f194225b5297f62bd4.zip |
MIPS: ingenic: gcw0: Fix HP detection GPIO.
Previously marked as active high, but is in reality active low.
Cc: stable@vger.kernel.org
Fixes: b1bfdb660516 ("MIPS: ingenic: DTS: Update GCW0 support")
Signed-off-by: João H. Spies <jhlspies@gmail.com>
Tested-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r-- | arch/mips/boot/dts/ingenic/gcw0.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/dts/ingenic/gcw0.dts b/arch/mips/boot/dts/ingenic/gcw0.dts index 8d22828787d8..bc72304a2440 100644 --- a/arch/mips/boot/dts/ingenic/gcw0.dts +++ b/arch/mips/boot/dts/ingenic/gcw0.dts @@ -92,7 +92,7 @@ "MIC1N", "Built-in Mic"; simple-audio-card,pin-switches = "Speaker", "Headphones"; - simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_HIGH>; + simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_LOW>; simple-audio-card,aux-devs = <&speaker_amp>, <&headphones_amp>; simple-audio-card,bitclock-master = <&dai_codec>; |