ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wr741nd-v4.c
index b8ccdfd..214429c 100644 (file)
@@ -89,14 +89,14 @@ static struct gpio_keys_button tl_wr741ndv4_gpio_keys[] __initdata = {
                .code           = KEY_RESTART,
                .debounce_interval = TL_WR741NDV4_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_WR741NDV4_GPIO_BTN_RESET,
-               .active_low     = 1,
+               .active_low     = 0,
        }, {
                .desc           = "WPS",
                .type           = EV_KEY,
                .code           = KEY_WPS_BUTTON,
                .debounce_interval = TL_WR741NDV4_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_WR741NDV4_GPIO_BTN_WPS,
-               .active_low     = 1,
+               .active_low     = 0,
        }
 };
 
This page took 0.026787 seconds and 4 git commands to generate.