From 3b8c51771da376aa6ca810c12866ffa4de4417e9 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 26 Jan 2014 14:55:34 +0000
Subject: [PATCH] ar71xx: wpe72: set active_low flag for the reset button

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39401
---
 target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c
index 114d6233c3..70bf7db0ca 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c
@@ -59,6 +59,7 @@ static struct gpio_keys_button wpe72_gpio_keys[] __initdata = {
 		.code           = KEY_RESTART,
 		.debounce_interval = WPE72_KEYS_DEBOUNCE_INTERVAL,
 		.gpio           = WPE72_GPIO_RESET,
+		.active_low	= 1,
 	}
 };
 
-- 
GitLab