Commit da4d52d5 authored by blogic's avatar blogic
Browse files

ar71xx: oolite: the buttons are not active_low



this caused factory resets when reboot was pressed
Signed-off-by: default avatarBrent Thomson <brentthomson@gmail.com>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

Backport of r41932

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41972 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 85ec9ac9
......@@ -54,7 +54,7 @@ static struct gpio_keys_button gs_oolite_gpio_keys[] __initdata = {
.code = KEY_RESTART,
.debounce_interval = GS_OOLITE_KEYS_DEBOUNCE_INTERVAL,
.gpio = GS_OOLITE_GPIO_BTN_RESET,
.active_low = 1,
.active_low = 0,
},
{
.desc = "BTN_6",
......@@ -62,7 +62,7 @@ static struct gpio_keys_button gs_oolite_gpio_keys[] __initdata = {
.code = BTN_6,
.debounce_interval = GS_OOLITE_KEYS_DEBOUNCE_INTERVAL,
.gpio = GS_OOLITE_GPIO_BTN6,
.active_low = 1,
.active_low = 0,
},
{
.desc = "BTN_7",
......@@ -70,7 +70,7 @@ static struct gpio_keys_button gs_oolite_gpio_keys[] __initdata = {
.code = BTN_7,
.debounce_interval = GS_OOLITE_KEYS_DEBOUNCE_INTERVAL,
.gpio = GS_OOLITE_GPIO_BTN7,
.active_low = 1,
.active_low = 0,
},
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment