diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:37:51 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:37:51 +0000 |
commit | c80db28b91f1b9ed829b289485f02601cc25d768 (patch) | |
tree | 18ec1d0d846871fbcf8cd59d2453f735017af3e7 | |
parent | b84abd65c9312354a347f0ee128e7ae06440ff5e (diff) | |
download | upstream-c80db28b91f1b9ed829b289485f02601cc25d768.tar.gz upstream-c80db28b91f1b9ed829b289485f02601cc25d768.tar.bz2 upstream-c80db28b91f1b9ed829b289485f02601cc25d768.zip |
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd-v4.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c index badc35af15..c61a16c99b 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c @@ -53,7 +53,7 @@ static struct gpio_keys_button tl_wr703n_gpio_keys[] __initdata = { .code = KEY_RESTART, .debounce_interval = TL_WR703N_KEYS_DEBOUNCE_INTERVAL, .gpio = TL_WR703N_GPIO_BTN_RESET, - .active_low = 1, + .active_low = 0, } }; diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd-v4.c index b8ccdfd60e..214429cd54 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd-v4.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd-v4.c @@ -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, } }; |