Re: [PATCH] rtc: renesas-rtca3: Disable interrupts only if the RTC is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux