Input: gpio-keys - add gpiolib debounce support
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 28 Jun 2010 17:59:32 +0000 (10:59 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Jun 2010 18:01:10 +0000 (11:01 -0700)
commit28ed684fa3c0a75b59a00e209afef98aff7fa617
treeeaa3223d9556e1db6a11a05c981e5f7ddb9c8908
parentdf506f2c0023380ffa67a946fa36eee4150773a3
Input: gpio-keys - add gpiolib debounce support

gpiolib now has debounce support added in .35, so let's make use of it.
This allows to use hardware GPIO debouncing on some platforms like OMAP.

In case gpiolib debounce setup fails for some GPIO, the driver will fall
back to timer based debouncing, which is what it used before.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c