Hello Holger,

makes no sense because the isr register is cleared by the IRQ handler before the tasklets get running. sorry,
Right.

What about this:

in irq handler:

saved_isr |= readreg(isr) & IRQ_BIT;

in tasklet handler:
do {
... do it ...
} while ((saved_isr) || (readreg(isr) & IRQ_BIT));

:) (good things always show up multiple times;)


It maybe needs some locking.
Yes, it does. A spinlock should be used to protect the saved_isr variable.

maybe.
Holger
CU
Michael.




--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.

Reply via email to