Re: Threaded interrupts for synaptic touchscreen in HTC dream

From: Pavel Machek
Date: Thu Jul 23 2009 - 10:55:51 EST



> > +static irqreturn_t synaptics_ts_hardirq(int irq, void *dev_id)
> > +{
> > + disable_irq_nosync(irq);
> > + return IRQ_WAKE_THREAD;
>
> Are you sure that this is going to work? The IRQ thread code will not

No, I'm not. I copied it from somewhere and could not really test it.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/