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-ubnt.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
index 37151ab02ce981f8fafa222af981b931ec9d90a0..5b1c504f39b2d49443766d630962ebd784718542 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
@@
-105,7
+105,7
@@
static struct gpio_button ubnt_gpio_buttons[] __initdata = {
.desc = "sw4",
.type = EV_KEY,
.code = BTN_0,
.desc = "sw4",
.type = EV_KEY,
.code = BTN_0,
- .threshold =
5
,
+ .threshold =
3
,
.gpio = UBNT_RS_GPIO_SW4,
.active_low = 1,
}
.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,
.desc = "reset",
.type = EV_KEY,
.code = BTN_0,
- .threshold =
5
,
+ .threshold =
3
,
.gpio = UBNT_M_GPIO_BTN_RESET,
.active_low = 1,
}
.gpio = UBNT_M_GPIO_BTN_RESET,
.active_low = 1,
}