aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-09 12:17:00 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-09 12:17:00 +0000
commit63c8a7fd9a53aaa64a3518b25d2af8891da8b1ba (patch)
tree8daf909685bb3b0706db62e2efaa80d3749a1d52 /target/linux/ar71xx/files
parent9175d22cefcae20f34566bea7a49cf8d8bbd7089 (diff)
downloadupstream-63c8a7fd9a53aaa64a3518b25d2af8891da8b1ba.tar.gz
upstream-63c8a7fd9a53aaa64a3518b25d2af8891da8b1ba.tar.bz2
upstream-63c8a7fd9a53aaa64a3518b25d2af8891da8b1ba.zip
ar71xx: dir-505: fix reset button gpio active_low value
Fix 'active_low' default value for the reset button on DIR-505. Signed-off-by: Rocco Folino <rocco@devzen.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44360 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c
index d3914659ef..1367b64a8f 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c
@@ -59,7 +59,7 @@ static struct gpio_keys_button dir_505_a1_gpio_keys[] __initdata = {
.code = KEY_RESTART,
.debounce_interval = DIR_505A1_KEYS_DEBOUNCE_INTERVAL,
.gpio = DIR_505A1_GPIO_BTN_RESET,
- .active_low = 1,
+ .active_low = 0,
}, {
.desc = "WPS button",
.type = EV_KEY,