From patchwork Wed Feb 24 14:38:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthieu CASTET X-Patchwork-Id: 81755 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1OEcpMQ027612 for ; Wed, 24 Feb 2010 14:38:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755556Ab0BXOiu (ORCPT ); Wed, 24 Feb 2010 09:38:50 -0500 Received: from co203.xi-lite.net ([149.6.83.203]:39075 "EHLO co203.xi-lite.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755460Ab0BXOiu (ORCPT ); Wed, 24 Feb 2010 09:38:50 -0500 Received: from ONYX.xi-lite.lan (unknown [193.34.35.244]) by co203.xi-lite.net (Postfix) with ESMTP id 907BD65863D; Wed, 24 Feb 2010 14:38:43 +0000 (GMT) Received: from [172.20.2.211] (84.14.91.202) by mail.xi-lite.com (193.34.32.105) with Microsoft SMTP Server (TLS) id 8.1.336.0; Wed, 24 Feb 2010 14:42:00 +0000 Message-ID: <4B8539EB.4080906@parrot.com> Date: Wed, 24 Feb 2010 15:38:35 +0100 From: Matthieu CASTET User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: CC: Subject: Re: [PATCH] tsc2007 : set irq edge References: <4B85009D.3040604@parrot.com> In-Reply-To: <4B85009D.3040604@parrot.com> X-Enigmail-Version: 0.95.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 24 Feb 2010 14:38:51 +0000 (UTC) diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c index 7ef0d14..a16b9e5 100644 --- a/drivers/input/touchscreen/tsc2007.c +++ b/drivers/input/touchscreen/tsc2007.c @@ -312,7 +312,7 @@ static int __devinit tsc2007_probe(struct i2c_client *client, if (pdata->init_platform_hw) pdata->init_platform_hw(); - err = request_irq(ts->irq, tsc2007_irq, 0, + err = request_irq(ts->irq, tsc2007_irq, IRQF_TRIGGER_LOW, client->dev.driver->name, ts); if (err < 0) { dev_err(&client->dev, "irq %d busy?\n", ts->irq);