Explorar o código

ar71xx: Fix LED active_low for the TL-WR1043ND board

This fixes the LED active_low's for the TP-Link wr1043nd board

Signed-off-by: Andrew Tarabaras <[email protected]>

SVN-Revision: 18844
Gabor Juhos %!s(int64=16) %!d(string=hai) anos
pai
achega
6fcb5f6294

+ 4 - 4
target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c

@@ -70,19 +70,19 @@ static struct gpio_led tl_wr1043nd_leds_gpio[] __initdata = {
 	{
 	{
 		.name		= "tl-wr1043nd:green:usb",
 		.name		= "tl-wr1043nd:green:usb",
 		.gpio		= TL_WR1043ND_GPIO_LED_USB,
 		.gpio		= TL_WR1043ND_GPIO_LED_USB,
-		.active_low	= 0,
+		.active_low	= 1,
 	}, {
 	}, {
 		.name		= "tl-wr1043nd:green:system",
 		.name		= "tl-wr1043nd:green:system",
 		.gpio		= TL_WR1043ND_GPIO_LED_SYSTEM,
 		.gpio		= TL_WR1043ND_GPIO_LED_SYSTEM,
-		.active_low	= 0,
+		.active_low	= 1,
 	}, {
 	}, {
 		.name		= "tl-wr1043nd:green:qss",
 		.name		= "tl-wr1043nd:green:qss",
 		.gpio		= TL_WR1043ND_GPIO_LED_QSS,
 		.gpio		= TL_WR1043ND_GPIO_LED_QSS,
-		.active_low	= 1,
+		.active_low	= 0,
 	}, {
 	}, {
 		.name		= "tl-wr1043nd:green:wlan",
 		.name		= "tl-wr1043nd:green:wlan",
 		.gpio		= TL_WR1043ND_GPIO_LED_WLAN,
 		.gpio		= TL_WR1043ND_GPIO_LED_WLAN,
-		.active_low	= 0,
+		.active_low	= 1,
 	}
 	}
 };
 };