diff options
| author | Alexander Sverdlin <alexander.sverdlin@siemens.com> | 2026-08-28 18:44:40 +0200 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-10-29 11:23:57 +0100 |
| commit | 75ba9f3a6a0bb2153a97e5d9c3d186b6c6e517af (patch) | |
| tree | c53e5a489d04c81e52cbe2070efccfe6bdd2ad82 /tools/lib/python/kdoc/python_version.py | |
| parent | a451b6bb922ede877b141beb09c3d2eb3cc9edfe (diff) | |
rtc: pcf85063: do not clear AIE in the interrupt handler
The interrupt handler cleared the alarm interrupt enable (AIE) bit while
acknowledging the alarm flag (AF). This races with process-context updates
of AIE in pcf85063_rtc_alarm_irq_enable() and pcf85063_rtc_set_alarm():
a handler running concurrently can clobber an AIE change.
The RTC core already disables the alarm interrupt after a one-shot alarm
via the .alarm_irq_enable callback, so the handler does not need to touch
AIE at all. Acknowledge AF only and leave AIE management to the core.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://patch.msgid.link/20260828164445.3907839-3-alexander.sverdlin@siemens.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
