mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-28 20:50:01 +04:00
ar71xx: ZyXEL NBG6716 rfkill switch fix
ZyXEL NBG6716 "rfkill" is a switch, not a button. Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> SVN-Revision: 44453
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user