diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-02 15:05:42 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-09-04 20:32:21 +0200 |
| commit | 21f027016b1290d13c30b198ae7a00e6b3d1d5a5 (patch) | |
| tree | 100b1b0a1548984d9da6c06a6943da69b78a85bf /scripts/cleanpatch | |
| parent | 68fe2faf5c69d0e21f94cd695d28f0ba677d484f (diff) | |
| download | linux-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
