ar71xx: reduce button threshold value on the NBG460 board
authorGabor Juhos <juhosg@openwrt.org>
Wed, 21 Apr 2010 19:07:23 +0000 (19:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 21 Apr 2010 19:07:23 +0000 (19:07 +0000)
SVN-Revision: 21076

target/linux/ar71xx/files/arch/mips/ar71xx/mach-nbg460n.c

index fea0825..0b7116f 100644 (file)
@@ -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,
        }