summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-01-12 21:35:00 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-02 16:36:22 +0200
commitf6acabcbdc455d2032f5a935ead2fedf781e8ce2 (patch)
tree9778eed0977f0c91cd5e4f42d5acc57702864037
parentf17174e8436dc7026ad9429a4e82b3d3e42179f7 (diff)
downloadopenwrt-f6acabcbdc455d2032f5a935ead2fedf781e8ce2.tar.gz
openwrt-f6acabcbdc455d2032f5a935ead2fedf781e8ce2.tar.bz2
openwrt-f6acabcbdc455d2032f5a935ead2fedf781e8ce2.zip
ar71xx: enable ethernet LED of Arduino Yun
Commit 05d73a2a7379 enabled GPIO on ethernet LED, but proper LED setup was not added then. This commit fixes it by reverting the change on the LED. Fixes: 05d73a2a7379 ("ar71xx: Arduino Yun board 'WLAN RST' button support") Signed-off-by: Sungbo Eo <mans0n@gorani.run> (cherry picked from commit a5e404d1923d135d335e4ece83f87e6e891396e2)
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c
index 5873248edf..8ab07d514b 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c
@@ -117,8 +117,7 @@ static void __init ds_setup(void)
ath79_gpio_function_disable(AR933X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
AR933X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
AR933X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
- AR933X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
- AR933X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+ AR933X_GPIO_FUNC_ETH_SWITCH_LED3_EN);
//Disable the Function for some pins to have GPIO functionality active
// GPIO6-7-8 and GPIO11