Re: [PATCH] rtc: pcf8563: pass the driver data to the alarm interrupt handler
From: Alexandre Belloni
Date: Mon Oct 19 2026 - 16:11:31 EST
On Sun, 04 Oct 2026 23:56:53 +0000, Igor Velkov wrote:
> pcf8563_irq() takes its dev_id as struct pcf8563, but probe still
> registers the interrupt with the i2c client. The handler then takes the
> regmap pointer from the wrong structure: the first alarm oopses, the
> level-low INT is never acknowledged, and the interrupt gets disabled as
> spurious.
>
> Only an RTC that has an interrupt (client->irq > 0) reaches this path.
>
> [...]
Applied, thanks!
[1/1] rtc: pcf8563: pass the driver data to the alarm interrupt handler
https://git.kernel.org/abelloni/c/5831f5fef100
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com