Messages in this thread | | | Date | Fri, 23 Apr 2010 14:30:12 +0100 | From | Mark Brown <> | Subject | Re: Threaded irq handler question |
| |
On Thu, Apr 22, 2010 at 11:51:06AM +0100, Will Newton wrote: > On Thu, Apr 22, 2010 at 2:37 AM, Yong Zhang <yong.zhang@windriver.com> wrote:
> > Does IRQF_ONESHOT meet your need?
> 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.]
| |