Re: [PATCH] rtc: renesas-rtca3: Disable interrupts only if the RTC is enabled
From: Alexandre Belloni
Date: Tue Mar 11 2025 - 10:12:03 EST
On Wed, 05 Feb 2025 11:55:19 +0200, Claudiu wrote:
> If the RTC is not enabled and the code attempts to disable the interrupt,
> the readb_poll_timeout_atomic() function in the
> rtca3_alarm_irq_set_helper() may timeout, leading to probe failures.
> This issue is reproducible on some devices because the initial values of
> the PIE and AIE bits in the RCR1 register are undefined.
>
> To prevent probe failures in this scenario, disable RTC interrupts only
> when the RTC is actually enabled.
>
> [...]
Applied, thanks!
[1/1] rtc: renesas-rtca3: Disable interrupts only if the RTC is enabled
https://git.kernel.org/abelloni/c/27b2fcbd6b98
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com