From: Leon M. George Date: Fri, 26 Jul 2019 18:21:26 +0000 (+0200) Subject: ar71xx: wpj531: fix SIG1/RSS1 LED GPIO X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c070662980047838004b83f7af59e7015d3c7922;p=openwrt%2Fstaging%2Fdangole.git ar71xx: wpj531: fix SIG1/RSS1 LED GPIO In commit 6c937df749c7 ("ar71xx: wpj531: fix GPIOs for LED") wrong GPIO 13 for SIG1/RSS1 LED was commited, the correct GPIO number for this LED is 12. It's listed in "Hardware Guide - wpj531 7A06 (02/07/2019)" as GPIO12/RSS1 on the LED header and same GPIO 12 is used in the vendor's SDK as well. Fixes: 6c937df749c7 ("ar71xx: wpj531: fix GPIOs for LED") Signed-off-by: Leon M. George [commit subject/message facelift] Signed-off-by: Petr Štetiar --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index df817dac91..351293230f 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c @@ -35,7 +35,7 @@ #include "dev-wmac.h" #include "machtypes.h" -#define WPJ531_GPIO_LED_SIG1 13 +#define WPJ531_GPIO_LED_SIG1 12 #define WPJ531_GPIO_LED_SIG2 14 #define WPJ531_GPIO_LED_SIG3 15 #define WPJ531_GPIO_LED_SIG4 16