Re: [PATCH 4/4] media: dw100: Split interrupt handler to fix timeout error

From: Steven Rostedt
Date: Mon Jan 05 2026 - 16:37:37 EST


On Mon, 05 Jan 2026 14:03:58 -0500
Nicolas Dufresne <nicolas@xxxxxxxxxxxx> wrote:

> Le lundi 05 janvier 2026 à 12:35 +0100, Stefan Klug a écrit :
> > In the previous commit, the interrupt handler was changed to threaded.
> > This sometimes leads to DW100_INTERRUPT_STATUS_INT_ERR_TIME_OUT being
> > set after changing the vertex map. This can be seen by repeated error
> > outputs in dmesg:
> >
> > dw100 32e30000.dwe: Interrupt error: 0x1
> >
> > As there is no documentation available, it is unclear why that happens
> > and if this condition can simply be ignored. By splitting the interrupt
> > handling into two parts and only handling the dw100_job_finish() within
> > the threaded part, the error does not occur anymore.
> >
> > Signed-off-by: Stefan Klug <stefan.klug@xxxxxxxxxxxxxxxx>
>
> Ok, but arguably, this could be squashed.

Agreed. Because it doesn't seem to make sense to have a oneshot threaded
irq handler that doesn't have the two parts (non-threaded to acknowledge the
irq, and the threaded to handle it and re-enable it).

-- Steve