diff options
author | Leigh Brown <leigh@solinno.co.uk> | 2011-06-21 07:25:21 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-06-21 08:08:40 -0400 |
commit | eaa499aebf6265f18ffc836ead30059031c6d7a7 (patch) | |
tree | 7788dd5e753765c22e9babef4555c17d950b3a33 /drivers | |
parent | 61cf3813d32411b23d5df8a650bbd2aa89b4618c (diff) |
Input: lm8323 - use oneshot level triggered interrupts
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/lm8323.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c index 3b21f426ebb1..ab0acaf7fe8f 100644 --- a/drivers/input/keyboard/lm8323.c +++ b/drivers/input/keyboard/lm8323.c | |||
@@ -734,7 +734,7 @@ static int __devinit lm8323_probe(struct i2c_client *client, | |||
734 | } | 734 | } |
735 | 735 | ||
736 | err = request_threaded_irq(client->irq, NULL, lm8323_irq, | 736 | err = request_threaded_irq(client->irq, NULL, lm8323_irq, |
737 | IRQF_TRIGGER_FALLING, "lm8323", lm); | 737 | IRQF_TRIGGER_LOW|IRQF_ONESHOT, "lm8323", lm); |
738 | if (err) { | 738 | if (err) { |
739 | dev_err(&client->dev, "could not get IRQ %d\n", client->irq); | 739 | dev_err(&client->dev, "could not get IRQ %d\n", client->irq); |
740 | goto fail4; | 740 | goto fail4; |