ar71xx: reduce button threshold values
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-wp543.c
index d20800ea544c249f7c0c6c1346fe795e72063d49..bf8b9f562374ff14567c037606f10513d7d01fa2 100644 (file)
@@ -61,13 +61,13 @@ static struct gpio_button wp543_gpio_buttons[] __initdata = {
                .desc           = "sw6",
                .type           = EV_KEY,
                .code           = BTN_0,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = WP543_GPIO_SW6,
        }, {
                .desc           = "sw4",
                .type           = EV_KEY,
                .code           = BTN_1,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = WP543_GPIO_SW4,
        }
 };
@@ -96,4 +96,4 @@ static void __init wp543_setup(void)
                                        wp543_gpio_buttons);
 }
 
-MIPS_MACHINE(AR71XX_MACH_WP543, "Compex WP543", wp543_setup);
+MIPS_MACHINE(AR71XX_MACH_WP543, "WP543", "Compex WP543", wp543_setup);