Message ID | 1374856201-11507-4-git-send-email-illia.smyrnov@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index b13589e..66a41d6 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c @@ -374,9 +374,13 @@ static int omap4_keypad_probe(struct platform_device *pdev) goto err_free_keymap; } + /* + * Set irq level detection for mpu. Edge event are missed in gic + * if the mpu is in low power and keypad event is a wakeup + */ error = request_threaded_irq(keypad_data->irq, omap4_keypad_irq_handler, omap4_keypad_irq_thread_fn, - IRQF_TRIGGER_RISING, + IRQF_TRIGGER_HIGH, "omap4-keypad", keypad_data); if (error) { dev_err(&pdev->dev, "failed to register interrupt\n");