On Tue, Apr 15, 2008 at 09:02:35AM -0400, Dmitry Torokhov wrote: > On Tue, Apr 15, 2008 at 09:48:19AM +0100, Mark Brown wrote: > > As well as not queuing the work it ensures that the calls to > > irq_enable() are balanced which helps with implementing that operation. > Hmm... another question then - what would fire up wm97xx_pen_interrupt() > again, before wm97xx_pen_irq_worker had a chance to run, if the very > first thing we do after getting interrupt is irq_enable(wm, 0)? Normally nothing - in most systems the interrupt will not be shared and/or the board irq_enable() operation will completely disable the IRQ line. The main use case would be if the interrupt is shared and the board irq_enable() operation doesn't affect other sources, though boards may also decide that they can do without disabling the interrupt. -- 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