summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-04-21 19:07:23 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-04-21 19:07:23 +0000
commit10ed3b23a64ae92739bfdaa0e79227d287106123 (patch)
tree3dc4ad1597f4893a356f7b15337fe89b59630f29
parent9933d34770ba5caf128867fe206ae0a65ad004d7 (diff)
downloadmtk-20170518-10ed3b23a64ae92739bfdaa0e79227d287106123.zip
mtk-20170518-10ed3b23a64ae92739bfdaa0e79227d287106123.tar.gz
mtk-20170518-10ed3b23a64ae92739bfdaa0e79227d287106123.tar.bz2
ar71xx: reduce button threshold value on the NBG460 board
SVN-Revision: 21076
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
index fea0825..0b7116f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c
@@ -112,14 +112,14 @@ static struct gpio_button nbg460n_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = KEY_RESTART,
- .threshold = 5,
+ .threshold = 3,
.gpio = NBG460N_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = KEY_WPS_BUTTON,
- .threshold = 5,
+ .threshold = 3,
.gpio = NBG460N_GPIO_BTN_WPS,
.active_low = 1,
}