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>
This commit is contained in:
parent
05362f486b
commit
f8038c4251
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue