Input: omap4-keypad - fix interrupt line configuration
authorAbraham Arce <x0066660@ti.com>
Thu, 30 Sep 2010 06:37:04 +0000 (23:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Oct 2010 14:49:26 +0000 (07:49 -0700)
Select correct interrupt line behaviour.

Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/omap4-keypad.c

index 2b61f5fb07b6a6e24a91ae209f3732a9c32dda1e..07e792e960f17f55d327edde0fda1914e93c9f11 100644 (file)
@@ -238,7 +238,7 @@ static int __devinit omap4_keypad_probe(struct platform_device *pdev)
        omap4_keypad_config(keypad_data);
 
        error = request_irq(keypad_data->irq, omap4_keypad_interrupt,
-                            IRQF_TRIGGER_FALLING,
+                            IRQF_TRIGGER_RISING,
                             "omap4-keypad", keypad_data);
        if (error) {
                dev_err(&pdev->dev, "failed to register interrupt\n");