From patchwork Mon Jun 20 19:02:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leigh Brown X-Patchwork-Id: 898042 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5KJ2Vxk013361 for ; Mon, 20 Jun 2011 19:02:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755600Ab1FTTCa (ORCPT ); Mon, 20 Jun 2011 15:02:30 -0400 Received: from doppler.thel33t.co.uk ([193.110.88.198]:41834 "EHLO doppler.thel33t.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752965Ab1FTTCa (ORCPT ); Mon, 20 Jun 2011 15:02:30 -0400 Received: from doppler.thel33t.co.uk (localhost [127.0.0.1]) by doppler.thel33t.co.uk (Postfix) with ESMTP id 69DC44A295; Mon, 20 Jun 2011 20:02:27 +0100 (BST) MIME-Version: 1.0 Date: Mon, 20 Jun 2011 20:02:27 +0100 From: Leigh Brown To: Cc: Dmitry Torokhov , , Linux OMAP Mailing List Subject: [PATCH] input: keypad: lm8323: use level triggered interrupts In-Reply-To: <20110620082605.GE14262@legolas.emea.dhcp.ti.com> References: <1307999812-3802-1-git-send-email-balbi@ti.com> <20110619195604.GC14262@legolas.emea.dhcp.ti.com> <694a51cff83de55276b804b23668447e@doppler.thel33t.co.uk> <20110620082605.GE14262@legolas.emea.dhcp.ti.com> Message-ID: <3f659cd53ac25c98701c2bb3a453ab06@doppler.thel33t.co.uk> X-Sender: leigh@solinno.co.uk User-Agent: Roundcube Webmail/0.5.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 20 Jun 2011 19:02:32 +0000 (UTC) This patch, which should be applied on top of Felipe's "input: keypad: lm8323: convert to threaded IRQ" patch, fixes the issue of the Nokia N810 keypad stopping responding if multiple key events occur in quick succession. Signed-off-by: Leigh Brown --- drivers/input/keyboard/lm8323.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) goto fail4; -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c index 3b21f42..ab0acaf 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, } 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);