ar71xx: fix WPS button polarity on TL-WR2543N
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Mar 2012 19:50:53 +0000 (19:50 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 7 Mar 2012 19:50:53 +0000 (19:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index bb00b72..d4a66cd 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,
+               .active_low     = 1,
        }
 };