Thread (66 messages) 66 messages, 12 authors, 2009-08-22

Re: Support for synaptic touchscreen in HTC dream

From: Arve Hjønnevåg <arve@android.com>
Date: 2009-07-15 20:24:51
Also in: lkml

On Wed, Jul 15, 2009 at 6:48 AM, Pavel Machek[off-list ref] wrote:
On Tue 2009-07-14 10:52:12, Dmitry Torokhov wrote:
quoted
On Tue, Jul 14, 2009 at 12:06:34PM +0200, Pavel Machek wrote:
quoted
From: Arve Hj?nnev?g <arve@android.com>

This adds support for synaptic touchscreen, used in HTC dream
cellphone.

Signed-off-by: Pavel Machek <redacted>
This is pretty large body of code, could we get a sign-off from Arve as
well since he seems to be the author?
Arve?
The original patches has my sign-offs. Can you just keep that and add
a line describing your changes before your sign-off?

...
quoted
quoted
+static struct workqueue_struct *synaptics_wq;
Do we need a separate workqueue? Is reading the device that slow that we
can use keventd?
keventd has two problems. First, other work runs on it that can take
more than 12.5ms. This will case dropped events. Second, the i2c bus
sometimes locks up, which in turns would cause this driver to block
keventd for seconds.

...
quoted
quoted
+   if (client->irq) {
+           ret = request_irq(client->irq, synaptics_ts_irq_handler,
+                             0, client->name, ts);
I think threaded IRQ will fit the bill and will take care of
IRQ/workqueue shutdown races. Of course you still need to use workqueue
if polling.
I guess we'll just strip polling version for now?
Sounds good to me.

-- 
Arve Hjønnevåg
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help