[brcm63xx] switch to gpio-keys-polled
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 510-board_spw303v.patch
index 7b7e7e064924e78ee3c8ecd756f61d4e164da62f..2002ab4f4bbc3d8285d326fa06d349747e078a79 100644 (file)
@@ -58,7 +58,7 @@
 +                      .gpio           = 11,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .threshold      = 3,
++                      .debounce_interval = 60,
 +              },
 +              {
 +                      .desc           = "ses",
@@ -66,7 +66,7 @@
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_WPS_BUTTON,
-+                      .threshold      = 3,
++                      .debounce_interval = 60,
 +              },
 +      }
 +};