diff options
author | Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> | 2012-06-25 00:34:36 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-06-25 00:45:15 -0700 |
commit | 84b63ad8477c822edbeb1e310b201609f33522ec (patch) | |
tree | 119dbc19dbb993c8156e6972791411c1c015cc9e /drivers/input/keyboard/lm8323.c | |
parent | af77c88b8971232f23b4cba7a46fc7a43914bf22 (diff) |
Input: nomadik-ske-keypad - get rid of multiple interrupts
The keypad could cause multiple interrupts to be fired in succession
since we weren't waiting for the IRQs to clear properly in the
interrupt handler. We wait for a number of bus iterations (the
readl():s from the peripheral bus will stall, so these are quite
long) before giving up on getting keys ready to read, then we
sleep until the IRQ is deasserted (this is OK since the interrupt
is threaded). Also use the debounce platform data for another
hardcoded wait loop.
Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
Reviewed-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/lm8323.c')
0 files changed, 0 insertions, 0 deletions