Re: [PATCH 2/2] clocksource/drivers/fttmr010: Be stricter on IRQs

From: Linus Walleij
Date: Fri Aug 20 2021 - 09:39:58 EST


On Fri, Aug 20, 2021 at 10:53 AM Daniel Lezcano
<daniel.lezcano@xxxxxxxxxx> wrote:
>
> On 25/07/2021 00:44, Linus Walleij wrote:
> > Make sure we check that the right interrupt occurred before
> > calling the event handler for timer 1. Report spurious IRQs
> > as IRQ_NONE.
>
> Does it not mean there is something wrong with the initial setup ?

No it is not occurring. This is just to protect against ordinary
spurious interrupts (return from sleep glitches in electronics,
quantum effects...)

Yours,
Linus Walleij