ar71xx: reduce button threshold value on the NBG460 board

SVN-Revision: 21076
master
Gabor Juhos 15 years ago
parent 9933d34770
commit 10ed3b23a6
  1. 4
      target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c

@ -112,14 +112,14 @@ static struct gpio_button nbg460n_gpio_buttons[] __initdata = {
.desc = "reset", .desc = "reset",
.type = EV_KEY, .type = EV_KEY,
.code = KEY_RESTART, .code = KEY_RESTART,
.threshold = 5, .threshold = 3,
.gpio = NBG460N_GPIO_BTN_RESET, .gpio = NBG460N_GPIO_BTN_RESET,
.active_low = 1, .active_low = 1,
}, { }, {
.desc = "wps", .desc = "wps",
.type = EV_KEY, .type = EV_KEY,
.code = KEY_WPS_BUTTON, .code = KEY_WPS_BUTTON,
.threshold = 5, .threshold = 3,
.gpio = NBG460N_GPIO_BTN_WPS, .gpio = NBG460N_GPIO_BTN_WPS,
.active_low = 1, .active_low = 1,
} }

Loading…
Cancel
Save