Re: [PATCH] Input: h3600_ts_input - bugfix for request_irq()/free_irq() parameters
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-05-01 16:59:18
Also in:
lkml
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-05-01 16:59:18
Also in:
lkml
On Mon, May 02, 2011 at 12:23:43AM +0800, Axel Lin wrote:
Hi Dmitry, 2011/4/29 Dmitry Torokhov [off-list ref]:quoted
On Wed, Apr 13, 2011 at 08:37:11PM +0800, Axel Lin wrote:quoted
The dev field of h3600_dev is a pointer, thus use ts->dev instead of &ts->dev as the dev_id argument while calling request_irq()/free_irq().dev_id does not need to have specific type, it is just a cookie so as long as it's value is unique we are OK. &ts->dev works as well as ts->dev.Then you might want to apply below patch: http://www.spinics.net/lists/linux-input/msg15042.html My original intension was to fix the irq driver data mismatch.
Ah, I see. Then I'll apply it but with teh above as commit message. -- Dmitry