ar71xx: fix WPS button polarity on TL-WR2543N
authorGabor Juhos <juhosg@openwrt.org>
Wed, 7 Mar 2012 19:50:53 +0000 (19:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 7 Mar 2012 19:50:53 +0000 (19:50 +0000)
SVN-Revision: 30849

target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c

index bb00b72e7de62b39337c7ff9313854c225c46527..d4a66cd16b4c318a18bd77cdedf4c9f8cac870ef 100644 (file)
@@ -69,6 +69,7 @@ static struct gpio_keys_button tl_wr2543n_gpio_keys[] __initdata = {
                .code           = KEY_WPS_BUTTON,
                .debounce_interval = TL_WR2543N_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_WR2543N_GPIO_BTN_WPS,
                .code           = KEY_WPS_BUTTON,
                .debounce_interval = TL_WR2543N_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_WR2543N_GPIO_BTN_WPS,
+               .active_low     = 1,
        }
 };
 
        }
 };