ar71xx: dir-505: fix reset button gpio active_low value
authorJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:17:00 +0000 (12:17 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:17:00 +0000 (12:17 +0000)
Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <rocco@devzen.net>
SVN-Revision: 44360

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

index d3914659ef8fe1f097cf90f68865c117b9cb7edf..1367b64a8f46411f0284ca7bd5046dddfabaeaa9 100644 (file)
@@ -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,