Browse Source

ar71xx: dir-505: fix reset button gpio active_low value

Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <[email protected]>

SVN-Revision: 44360
John Crispin 11 years ago
parent
commit
b523db36a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c

+ 1 - 1
target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c

@@ -59,7 +59,7 @@ static struct gpio_keys_button dir_505_a1_gpio_keys[] __initdata = {
 		.code		= KEY_RESTART,
 		.debounce_interval = DIR_505A1_KEYS_DEBOUNCE_INTERVAL,
 		.gpio		= DIR_505A1_GPIO_BTN_RESET,
-		.active_low	= 1,
+		.active_low	= 0,
 	}, {
 		.desc		= "WPS button",
 		.type		= EV_KEY,