aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatrinel Catrinescu <cc@80211.de>2020-03-11 10:10:00 +0100
committerJohn Crispin <john@phrozen.org>2020-03-11 11:27:12 +0100
commit3ef8465cb845f65ef7d082af0fc45fed3e84c70a (patch)
treec38dee3503f4117a6b20f2d561039881d5daa1a6
parent08ad7a314d2bbad230ab10592b27b1a6ac00d1d0 (diff)
downloadupstream-3ef8465cb845f65ef7d082af0fc45fed3e84c70a.tar.gz
upstream-3ef8465cb845f65ef7d082af0fc45fed3e84c70a.tar.bz2
upstream-3ef8465cb845f65ef7d082af0fc45fed3e84c70a.zip
ar71xx: ew-dorin, fix the trigger level for WPS buttonopenwrt-18.06
Because the WPS button had the wrong trigger level, the failsafe mode was triggered quite often, after this commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=27f3f493de Signed-off-by: Catrinel Catrinescu <cc@80211.de> (cherry picked from commit 3e03b7ac4ada4966d058871d0a1f67f1f0f408d4)
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
index 575a976aec..5544596f91 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c
@@ -47,7 +47,7 @@ static struct gpio_keys_button dorin_gpio_keys[] __initdata = {
.code = KEY_WPS_BUTTON,
.debounce_interval = DORIN_KEYS_DEBOUNCE_INTERVAL,
.gpio = DORIN_GPIO_BTN_JUMPSTART,
- .active_low = 1,
+ .active_low = 0,
},
{
.desc = "reset button",