aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-08-03 11:15:45 +0000
committerJohn Crispin <blogic@openwrt.org>2014-08-03 11:15:45 +0000
commit2c3031046a844d8379641c842205029c14690ff5 (patch)
treea0a71df21f2c739c5bc8907bacb26b89932bc000 /target/linux/ar71xx/files
parenta7c6918ef6abb666ad4e1085ef2b00a451847608 (diff)
downloadupstream-2c3031046a844d8379641c842205029c14690ff5.tar.gz
upstream-2c3031046a844d8379641c842205029c14690ff5.tar.bz2
upstream-2c3031046a844d8379641c842205029c14690ff5.zip
ar71xx: oolite: the buttons are not active_low
this caused factory resets when reboot was pressed Signed-off-by: Brent Thomson <brentthomson@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r41932 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41972 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite.c
index 3d85f24616..c6cb61c366 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite.c
@@ -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,
},
};