On Thu, Apr 22, 2010 at 11:51:06AM +0100, Will Newton wrote:
quoted text > On Thu, Apr 22, 2010 at 2:37 AM, Yong Zhang <yong.zhang@windriver.com> wrote:
quoted text > > Does IRQF_ONESHOT meet your need?
quoted text > Almost I think, but I believe if my check handler does not wake the
> thread then I don't get another interrupt ever. I can fix this by
> making my check handler always return WAKE_THREAD, which is slightly
> sub-optimal, but not a big problem.
You shouldn't have a primary IRQ handler at all for I2C type devices
where there's no ability to interact with the chip.
[Sorry, hadn't noticed this subthread.]
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: Threaded irq handler question , Mark Brown , (Fri Apr 23, 6:30 am)