ar71xx: reduce button threshold values

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19116 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2010-01-13 10:18:30 +00:00
parent 2f07f54570
commit 77c49fab6c
22 changed files with 46 additions and 46 deletions

View File

@ -92,14 +92,14 @@ static struct gpio_button ap81_gpio_buttons[] __initdata = {
.desc = "sw1",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = AP81_GPIO_BTN_SW1,
.active_low = 1,
} , {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = AP81_GPIO_BTN_SW4,
.active_low = 1,
}

View File

@ -120,14 +120,14 @@ static struct gpio_button ap83_gpio_buttons[] __initdata = {
.desc = "soft_reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = AP83_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "jumpstart",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = AP83_GPIO_BTN_JUMPSTART,
.active_low = 1,
}

View File

@ -62,14 +62,14 @@ static struct gpio_button aw_nr580_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = AW_NR580_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = AW_NR580_GPIO_BTN_WPS,
.active_low = 1,
}

View File

@ -92,14 +92,14 @@ static struct gpio_button dir_600_a1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = DIR_600_A1_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = DIR_600_A1_GPIO_BTN_WPS,
.active_low = 1,
}

View File

@ -117,13 +117,13 @@ static struct gpio_button dir_615c1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = DIR_615C1_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = DIR_615C1_GPIO_BTN_WPS,
}
};

View File

@ -117,14 +117,14 @@ static struct gpio_button dir825b1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = DIR825B1_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "powersave",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = DIR825B1_GPIO_BTN_POWERSAVE,
.active_low = 1,
}

View File

@ -106,21 +106,21 @@ static struct gpio_button mzk_w04nu_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_WPS,
.active_low = 1,
}, {
.desc = "aprouter",
.type = EV_KEY,
.code = BTN_2,
.threshold = 5,
.threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_APROUTER,
.active_low = 0,
}

View 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,
}

View File

@ -28,14 +28,14 @@ static struct gpio_button pb42_gpio_buttons[] __initdata = {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = PB42_GPIO_BTN_SW4,
.active_low = 1,
} , {
.desc = "sw5",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = PB42_GPIO_BTN_SW5,
.active_low = 1,
}

View File

@ -95,14 +95,14 @@ static struct gpio_button pb44_gpio_buttons[] __initdata = {
.desc = "soft_reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = PB44_GPIO_SW_RESET,
.active_low = 1,
} , {
.desc = "jumpstart",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = PB44_GPIO_SW_JUMP,
.active_low = 1,
}

View File

@ -43,7 +43,7 @@ static struct gpio_button rb4xx_gpio_buttons[] __initdata = {
.desc = "reset_switch",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = RB4XX_GPIO_RESET_SWITCH,
.active_low = 1,
}

View File

@ -93,13 +93,13 @@ static struct gpio_button tew_632brp_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = TEW_632BRP_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = TEW_632BRP_GPIO_BTN_WPS,
}
};

View File

@ -91,14 +91,14 @@ static struct gpio_button tl_wr1043nd_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR1043ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR1043ND_GPIO_BTN_QSS,
.active_low = 1,
}

View File

@ -80,14 +80,14 @@ static struct gpio_button tl_wr741nd_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR741ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR741ND_GPIO_BTN_QSS,
.active_low = 1,
}

View File

@ -84,14 +84,14 @@ static struct gpio_button tl_wr841n_v1_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR841ND_V1_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR841ND_V1_GPIO_BTN_QSS,
.active_low = 1,
}

View File

@ -84,14 +84,14 @@ static struct gpio_button tl_wr941nd_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR941ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = TL_WR941ND_GPIO_BTN_QSS,
.active_low = 1,
}

View File

@ -105,7 +105,7 @@ static struct gpio_button ubnt_gpio_buttons[] __initdata = {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = UBNT_RS_GPIO_SW4,
.active_low = 1,
}
@ -116,7 +116,7 @@ static struct gpio_button ubnt_m_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = UBNT_M_GPIO_BTN_RESET,
.active_low = 1,
}

View File

@ -126,19 +126,19 @@ static struct gpio_button wndr3700_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = WNDR3700_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WPS,
} , {
.desc = "wifi",
.type = EV_KEY,
.code = BTN_2,
.threshold = 5,
.threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WIFI,
}
};

View File

@ -103,13 +103,13 @@ static struct gpio_button wnr2000_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = WNR2000_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = WNR2000_GPIO_BTN_WPS,
}
};

View 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,
}
};

View File

@ -101,14 +101,14 @@ static struct gpio_button wrt160nl_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = WRT160NL_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = WRT160NL_GPIO_BTN_WPS,
.active_low = 1,
}

View File

@ -115,14 +115,14 @@ static struct gpio_button wrt400n_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.threshold = 5,
.threshold = 3,
.gpio = WRT400N_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "wlsec",
.type = EV_KEY,
.code = BTN_1,
.threshold = 5,
.threshold = 3,
.gpio = WRT400N_GPIO_BTN_WLSEC,
.active_low = 1,
}