ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
SVN-Revision: 31102
This commit is contained in:
parent
d495277d9f
commit
f4d1e3d147
@ -53,7 +53,7 @@ static struct gpio_keys_button tl_wr703n_gpio_keys[] __initdata = {
|
||||
.code = KEY_RESTART,
|
||||
.debounce_interval = TL_WR703N_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = TL_WR703N_GPIO_BTN_RESET,
|
||||
.active_low = 1,
|
||||
.active_low = 0,
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -89,14 +89,14 @@ static struct gpio_keys_button tl_wr741ndv4_gpio_keys[] __initdata = {
|
||||
.code = KEY_RESTART,
|
||||
.debounce_interval = TL_WR741NDV4_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = TL_WR741NDV4_GPIO_BTN_RESET,
|
||||
.active_low = 1,
|
||||
.active_low = 0,
|
||||
}, {
|
||||
.desc = "WPS",
|
||||
.type = EV_KEY,
|
||||
.code = KEY_WPS_BUTTON,
|
||||
.debounce_interval = TL_WR741NDV4_KEYS_DEBOUNCE_INTERVAL,
|
||||
.gpio = TL_WR741NDV4_GPIO_BTN_WPS,
|
||||
.active_low = 1,
|
||||
.active_low = 0,
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user