From 7e4ce0c655ef61e2ba80e1605362f132b5678d27 Mon Sep 17 00:00:00 2001 From: "Leon M. George" Date: Fri, 26 Jul 2019 20:21:26 +0200 Subject: [PATCH] ar71xx: wpj531: fix SIG1/RSS1 LED GPIO MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit c070662980047838004b83f7af59e7015d3c7922) --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1