Skip to content

Commit

Permalink
Input: lm8323 - use oneshot level triggered interrupts
Browse files Browse the repository at this point in the history
According to the data sheet the interrupt should be level rather than
edge triggered.  This fixes the issue of the Nokia N810 keypad stopping
responding if multiple key events occur in quick succession.

Signed-off-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Leigh Brown authored and Dmitry Torokhov committed Jun 21, 2011
1 parent 61cf381 commit eaa499a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/lm8323.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ static int __devinit lm8323_probe(struct i2c_client *client,
}

err = request_threaded_irq(client->irq, NULL, lm8323_irq,
IRQF_TRIGGER_FALLING, "lm8323", lm);
IRQF_TRIGGER_LOW|IRQF_ONESHOT, "lm8323", lm);
if (err) {
dev_err(&client->dev, "could not get IRQ %d\n", client->irq);
goto fail4;
Expand Down

0 comments on commit eaa499a

Please sign in to comment.