aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNaveen Kumar Gaddipati <[email protected]>2012-06-25 00:34:36 -0700
committerDmitry Torokhov <[email protected]>2012-06-25 00:45:15 -0700
commit84b63ad8477c822edbeb1e310b201609f33522ec (patch)
tree119dbc19dbb993c8156e6972791411c1c015cc9e /tools/perf/util/trace-event-scripting.c
parentaf77c88b8971232f23b4cba7a46fc7a43914bf22 (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 <[email protected]> Reviewed-by: Rikard Olsson <[email protected]> Reviewed-by: Srinidhi Kasagar <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions