summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorRunyu Xiao <runyu.xiao@seu.edu.cn>2026-09-02 15:05:42 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-04 20:32:21 +0200
commit21f027016b1290d13c30b198ae7a00e6b3d1d5a5 (patch)
tree100b1b0a1548984d9da6c06a6943da69b78a85bf /scripts/cleanpatch
parent68fe2faf5c69d0e21f94cd695d28f0ba677d484f (diff)
downloadlinux-21f027016b1290d13c30b198ae7a00e6b3d1d5a5.tar.gz
linux-21f027016b1290d13c30b198ae7a00e6b3d1d5a5.zip
mtd: rawnand: cadence: Initialize IRQ state before requesting IRQ
The Cadence NAND interrupt handler uses both the IRQ lock and completion object. Registering the IRQ before initializing them leaves a window in which a pending interrupt can access uninitialized synchronization state. Initialize them before registering the handler. Fixes: ec4ba01e894d ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem") Cc: stable@vger.kernel.org Assisted-by: Codex:GPT-5 Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions