Re: [PATCH] rtc: spear: initialize IRQ state before requesting alarm IRQ

From: Alexandre Belloni

Date: Mon Sep 21 2026 - 16:51:59 EST


On Wed, 02 Sep 2026 16:03:18 +0800, Runyu Xiao wrote:
> devm_request_irq() enables the interrupt before it returns, so the handler
> may run while probe is still initializing the device. Initialize the MMIO
> address and spinlock before requesting the alarm IRQ.

Applied, thanks!

[1/1] rtc: spear: initialize IRQ state before requesting alarm IRQ
https://git.kernel.org/abelloni/c/055ef5ce9f67

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com