bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 550-alice_gate2_leds.patch
index c25aafd..98b988d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1612,6 +1612,98 @@ static struct board_info __initdata boar
+@@ -1612,6 +1612,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
@@ -91,6 +91,7 @@
 +              {
 +                      .desc           = "wps",
 +                      .gpio           = 34,
++                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_WPS_BUTTON,
 +                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,