summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-07 19:50:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-07 19:50:53 +0000
commit2d89fa7f437cc4a3a9c66d030c79d5d2e39e9f4a (patch)
treecce8cd6e8ab64182204d6dbacef8ee078c1ea886 /target
parent52a89cd95c95b8aa62bca7ca6a9a46a34a8c239f (diff)
downloadmtk-20170518-2d89fa7f437cc4a3a9c66d030c79d5d2e39e9f4a.zip
mtk-20170518-2d89fa7f437cc4a3a9c66d030c79d5d2e39e9f4a.tar.gz
mtk-20170518-2d89fa7f437cc4a3a9c66d030c79d5d2e39e9f4a.tar.bz2
ar71xx: fix WPS button polarity on TL-WR2543N
SVN-Revision: 30849
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c
index bb00b72..d4a66cd 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c
@@ -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,
}
};