aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-14 20:48:42 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-14 20:48:42 +0000
commit00f2f294d0139e6860705093869d3ba663f3cf1f (patch)
treeaa6e84fca96c54f895e762dfefce0bfe8629b427 /target/linux/ar71xx/files/arch
parent0709b59745cca0191ade10af764006e1f40e8b63 (diff)
downloadmaster-187ad058-00f2f294d0139e6860705093869d3ba663f3cf1f.tar.gz
master-187ad058-00f2f294d0139e6860705093869d3ba663f3cf1f.tar.bz2
master-187ad058-00f2f294d0139e6860705093869d3ba663f3cf1f.zip
ar71xx: ZyXEL NBG6716 rfkill switch fix
ZyXEL NBG6716 "rfkill" is a switch, not a button. Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44453 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
index acdfb0ae70..0ca2e56b0b 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
@@ -115,11 +115,11 @@ static struct gpio_keys_button nbg6716_gpio_keys[] __initdata = {
},
{
.desc = "RFKILL button",
- .type = EV_KEY,
+ .type = EV_SW,
.code = KEY_RFKILL,
.debounce_interval = NBG6716_KEYS_DEBOUNCE_INTERVAL,
.gpio = NBG6716_GPIO_BTN_RFKILL,
- .active_low = 1,
+ .active_low = 0,
},
{
.desc = "USB1 eject button",