ar71xx: reduce button threshold values
[lede.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-mzk-w300nh.c
index 0e55888523b0ee274a2501932bf03cfcd7a4809d..3a38c8285196ab60f4f2aff6073c9479061b0807 100644 (file)
@@ -105,21 +105,21 @@ static struct gpio_button mzk_w300nh_gpio_buttons[] __initdata = {
                .desc           = "reset",
                .type           = EV_KEY,
                .code           = BTN_0,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = MZK_W300NH_GPIO_BTN_RESET,
                .active_low     = 1,
        }, {
                .desc           = "wps",
                .type           = EV_KEY,
                .code           = BTN_1,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = MZK_W300NH_GPIO_BTN_WPS,
                .active_low     = 1,
        }, {
                .desc           = "aprouter",
                .type           = EV_KEY,
                .code           = BTN_2,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = MZK_W300NH_GPIO_BTN_APROUTER,
                .active_low     = 0,
        }
@@ -156,4 +156,5 @@ static void __init mzk_w300nh_setup(void)
        ar913x_add_device_wmac(eeprom, NULL);
 }
 
-MIPS_MACHINE(AR71XX_MACH_MZK_W300NH, "Planex MZK-W300NH", mzk_w300nh_setup);
+MIPS_MACHINE(AR71XX_MACH_MZK_W300NH, "MZK-W300NH", "Planex MZK-W300NH",
+            mzk_w300nh_setup);