From: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Cleanup IRQ handling in gpio_keys: bail after handling the IRQ, and report IRQ_NONE if we never handle it. Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Cc: Phil Blundell <pb@xxxxxxxxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> --- No functional changes since the version sent 27-Dec-2007. MAINTAINERS says "linux-input@vger" but the only archives I could find seems to say "@atrey.karlin.mff.cuni.cz"... drivers/input/keyboard/gpio_keys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- g26.orig/drivers/input/keyboard/gpio_keys.c 2008-04-10 19:39:15.000000000 -0700 +++ g26/drivers/input/keyboard/gpio_keys.c 2008-04-11 00:30:45.000000000 -0700 @@ -43,10 +43,11 @@ static irqreturn_t gpio_keys_isr(int irq input_event(input, type, button->code, !!state); input_sync(input); + return IRQ_HANDLED; } } - return IRQ_HANDLED; + return IRQ_NONE; } static int __devinit gpio_keys_probe(struct platform_device *pdev) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html