Input: gpio_keys - add support for interrupt only keys
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 20 Mar 2012 00:54:31 +0000 (17:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Mar 2012 00:56:18 +0000 (17:56 -0700)
Some of buttons, like power-on key or onkey, may only generate interrupts
when pressed and not actually be mapped as gpio in the system. Allow
setting gpio to invalid value and specify IRQ instead to support such
keys. The debounce timer is used not to debounce but to ignore new IRQs
coming while button is kept pressed.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found