On Mon, 12 Apr 2021 at 09:50, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote: > > On Wed, 7 Apr 2021 at 05:15, Tian Tao <tiantao6@xxxxxxxxxxxxx> wrote: > > > > disable_irq() after request_irq() still has a time gap in which > > interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will > > disable IRQ auto-enable because of requesting. > > > > this patch is made base on "add IRQF_NO_AUTOEN for request_irq" which > > is being merged: https://lore.kernel.org/patchwork/patch/1388765/ > > > > Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx> > > FYI, I will have to wait to apply the $subject patch until the above > change (which is commit cbe16f35bee6 in linux-next) is available in an > rc. Applied for next, thanks! [...] Kind regards Uffe