[brcm63xx] switch to gpio-keys-polled
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 503-board-CPVA642.patch
index 28bd9b1a7f5c4d3c55ee76be8628830e91f791f6..d969e221232b250f1147d64435d7ade258bbe3d1 100644 (file)
 +                      .active_low     = 1,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_RESTART,
-+                      .threshold      = 3,
++                      .debounce_interval = 60,
 +              },
 +              {
 +                      .desc           = "wps",
 +                      .gpio           = 37,
 +                      .type           = EV_KEY,
 +                      .code           = KEY_WPS_BUTTON,
-+                      .threshold      = 3,
++                      .debounce_interval = 60,
 +              },
 +      },
 +};