commit | d8ee4a1c90529ed06e1aa43d034986649f7b670b | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Mon Mar 19 17:54:31 2012 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Mar 19 17:56:18 2012 -0700 |
tree | 5a9aec5fe8a9b146799842a2dd284495051621e1 | |
parent | a16ca23935afc0d72215b139720bd07df3162a9f [diff] |
Input: gpio_keys - add support for interrupt only keys 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>