projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: reduce button threshold values
[librecmc/librecmc.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
mach-mzk-w300nh.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
index 88a3bd17b64a1912dad0b09510f84c97109eec09..3a38c8285196ab60f4f2aff6073c9479061b0807 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-mzk-w300nh.c
@@
-105,21
+105,21
@@
static struct gpio_button mzk_w300nh_gpio_buttons[] __initdata = {
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
.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,
.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,
.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,
}
.gpio = MZK_W300NH_GPIO_BTN_APROUTER,
.active_low = 0,
}