On Wed, Jul 15, 2009 at 6:48 AM, Pavel Machek<pavel@xxxxxx> wrote: > On Tue 2009-07-14 10:52:12, Dmitry Torokhov wrote: >> On Tue, Jul 14, 2009 at 12:06:34PM +0200, Pavel Machek wrote: >> > From: Arve Hj?nnev?g <arve@xxxxxxxxxxx> >> > >> > This adds support for synaptic touchscreen, used in HTC dream >> > cellphone. >> > >> > Signed-off-by: Pavel Machek <pavel@xxxxxx> >> >> 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? ... >> > +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. ... >> > + 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html