Skip to content
Snippets Groups Projects
Commit b503dc02 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ar71xx: wp543: set active_low flag for the buttons


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

SVN-Revision: 39400
parent a2543d72
No related branches found
No related tags found
No related merge requests found
......@@ -62,12 +62,14 @@ static struct gpio_keys_button wp543_gpio_keys[] __initdata = {
.code = BTN_0,
.debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
.gpio = WP543_GPIO_SW6,
.active_low = 1,
}, {
.desc = "sw4",
.type = EV_KEY,
.code = KEY_RESTART,
.debounce_interval = WP543_KEYS_DEBOUNCE_INTERVAL,
.gpio = WP543_GPIO_SW4,
.active_low = 1,
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment