[PATCH] rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
Alexandre Belloni
alexandre.belloni at bootlin.com
Sun Nov 10 14:06:11 PST 2024
On Thu, 12 Sep 2024 11:37:27 +0800, Jinjie Ruan wrote:
> If request_irq() fails in st_rtc_probe(), there is no need to enable
> the irq, and if it succeeds, 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 when
> request IRQ.
>
> [...]
Applied, thanks!
[1/1] rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
https://git.kernel.org/abelloni/c/b6cd7adec0cf
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-arm-kernel
mailing list