Skip to content

Commit

Permalink
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
juhosg committed Mar 27, 2012
1 parent 7c8edac commit 70b0829
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c
Expand Up @@ -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,
}
};

Expand Down
Expand Up @@ -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,
}
};

Expand Down

0 comments on commit 70b0829

Please sign in to comment.