提交 eaa499ae 编写于 作者: L Leigh Brown 提交者: Dmitry Torokhov

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: NLeigh Brown <leigh@solinno.co.uk>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 61cf3813
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册