From: Joonyoung Shim <jy0922.shim@samsung.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org, kyungmin.park@samsung.com,
m.szyprowski@samsung.com, t.fujak@samsung.com
Subject: Re: [PATCH v4] Input: add touchscreen driver for MELFAS MCS-5000 controller
Date: Wed, 16 Sep 2009 15:19:47 +0900 [thread overview]
Message-ID: <4AB08383.9080107@samsung.com> (raw)
In-Reply-To: <20090916060017.GG2756@core.coreip.homeip.net>
On 9/16/2009 3:00 PM, Dmitry Torokhov wrote:
> Hi Joonyoung,
>
> On Wed, Sep 16, 2009 at 02:45:02PM +0900, Joonyoung Shim wrote:
>> +
>> +static irqreturn_t mcs5000_ts_interrupt(int irq, void *dev_id)
>> +{
>> + struct mcs5000_ts_data *data = dev_id;
>> + struct i2c_client *client = data->client;
>> + u8 buffer[READ_BLOCK_SIZE];
>> + int err;
>> + int x;
>> + int y;
>> +
>> + disable_irq_nosync(irq);
>> +
>
> I don't think we need to disable IRQ in the threaded handler - it should
> be masked off until we return...
>
Yor're right. It is unnecessary.
>> +
>> +static irqreturn_t mcs5000_ts_hardirq(int irq, void *dev_id)
>> +{
>> + return IRQ_WAKE_THREAD;
>> +}
>
> This is not needed, just pass NULL to request_threaded_irq().
>
OK, this is unnecessary too.
I will resend the patch after fix.
Thanks.
next prev parent reply other threads:[~2009-09-16 6:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 5:45 [PATCH v4] Input: add touchscreen driver for MELFAS MCS-5000 controller Joonyoung Shim
2009-09-16 6:00 ` Dmitry Torokhov
2009-09-16 6:19 ` Joonyoung Shim [this message]
2009-09-16 6:42 ` Joonyoung Shim
2009-09-16 7:27 ` Dmitry Torokhov
2009-09-16 23:53 ` Joonyoung Shim
2009-09-18 5:36 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AB08383.9080107@samsung.com \
--to=jy0922.shim@samsung.com \
--cc=dmitry.torokhov@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-input@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=t.fujak@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).