Przeglądaj źródła

ar71xx: fix WPS button polarity on TL-WR2543N

SVN-Revision: 30849
Gabor Juhos 14 lat temu
rodzic
commit
2d89fa7f43

+ 1 - 0
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c

@@ -69,6 +69,7 @@ static struct gpio_keys_button tl_wr2543n_gpio_keys[] __initdata = {
 		.code		= KEY_WPS_BUTTON,
 		.debounce_interval = TL_WR2543N_KEYS_DEBOUNCE_INTERVAL,
 		.gpio		= TL_WR2543N_GPIO_BTN_WPS,
+		.active_low	= 1,
 	}
 };