Browse Source

Input: omap4-keypad - fix interrupt line configuration

Select correct interrupt line behaviour.

Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Abraham Arce 14 years ago
parent
commit
f8038c4251
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/input/keyboard/omap4-keypad.c

+ 1 - 1
drivers/input/keyboard/omap4-keypad.c

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