summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorRunyu Xiao <runyu.xiao@seu.edu.cn>2026-09-02 16:03:18 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-09-21 22:46:42 +0200
commit055ef5ce9f67a6a3a1363fa663007f8196cc0fb8 (patch)
treea4ac113967a08cb1812816f8eb531d1b4ab1c212 /tools/lib/python/kdoc
parentac41b05d15db3134e839148290d67415ee0bdb58 (diff)
downloadlinux-055ef5ce9f67a6a3a1363fa663007f8196cc0fb8.tar.gz
linux-055ef5ce9f67a6a3a1363fa663007f8196cc0fb8.zip
rtc: spear: initialize IRQ state before requesting alarm IRQ
devm_request_irq() enables the interrupt before it returns, so the handler may run while probe is still initializing the device. Initialize the MMIO address and spinlock before requesting the alarm IRQ. Fixes: 0942a71e435f ("rtc: add support for spear rtc") Cc: stable@vger.kernel.org Assisted-by: Codex:GPT-5 Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn> Link: https://patch.msgid.link/20260902080318.3498434-1-runyu.xiao@seu.edu.cn Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions