diff options
| author | 2026-10-04 23:56:53 +0000 | |
|---|---|---|
| committer | 2026-10-19 22:06:09 +0200 | |
| commit | 5831f5fef10030c175e585d51b0e793dc6fef6ab (patch) | |
| tree | e000d25e1093b0c5c32197c191416793568ef4c0 /scripts/Makefile.thinlto | |
| parent | dt-bindings: rtc: rzn1: add resets property (diff) | |
rtc: pcf8563: pass the driver data to the alarm interrupt handler
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.
Fixes: 00f1bb9b8486 ("rtc: pcf8563: Switch to regmap")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Signed-off-by: Igor Velkov <iav@iav.lv>
Reviewed-by: Nobuhiro Iwamtasu <iwamatsu@nigauri.org>
Link: https://patch.msgid.link/20261004-pcf8563-irq-data-v1-1-f176763ddf2f@iav.lv
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
