# Re: \[PATCH 3/4\] input/nomadik-ske: get rid of multiple interrupts

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2012-06-25 07:35:21 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/06/8919744
- Thread: https://ratatoskr.run/linux-input/2012/06/8919709/t.md

```text
On Sun, Jun 17, 2012 at 04:17:58PM +0200, Linus Walleij wrote:
> From: Naveen Kumar Gaddipati <redacted>
> 
> 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 ait 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 <redacted>
> Reviewed-by: Rikard Olsson <redacted>
> Reviewed-by: Srinidhi Kasagar <redacted>
> Signed-off-by: Linus Walleij <redacted>

Applied, thank you.

-- 
Dmitry
```
