Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

João H. Spies and committed by
Thomas Bogendoerfer
9fbbb7dd 03e62fd6

+1 -1
+1 -1
arch/mips/boot/dts/ingenic/gcw0.dts
··· 92 92 "MIC1N", "Built-in Mic"; 93 93 simple-audio-card,pin-switches = "Speaker", "Headphones"; 94 94 95 - simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_HIGH>; 95 + simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_LOW>; 96 96 simple-audio-card,aux-devs = <&speaker_amp>, <&headphones_amp>; 97 97 98 98 simple-audio-card,bitclock-master = <&dai_codec>;