diff options
author | Nelson Castillo <arhuaco@freaks-unidos.net> | 2008-12-29 12:11:40 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-12-29 12:11:40 +0000 |
commit | 39a497b0421174c3f23ef3dffb0675a4db3aa3a0 (patch) | |
tree | f3aedf29af619387353d074b326770f6eef843e9 /drivers/pci/hotplug.c | |
parent | d494163d44eff907dac6bebc22daa586164bdf1e (diff) |
Filter AUX key bouncing
This patch filters AUX key bouncing. We store the state of
the AUX button and only change it when we notice that at
least AUX_TIMER_CONSECUTIVE_EVENTS consecutive equal GPIO
reads occur.
This should solve #2185 (AUX button makes interrupt storm)
but we still need the confirmation from someone affected by
the IRQ storm. In my test setup I could see an improvement
but I would only get 1 unwanted IRQ.
The next step is to use the same timer for more keys. For
that we could use the neo1973kbd_default_key_irq function
for the AUX key also.
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Diffstat (limited to 'drivers/pci/hotplug.c')
0 files changed, 0 insertions, 0 deletions