[PATCH] mtd: rawnand: cadence: Initialize IRQ state before requesting IRQ
Miquel Raynal
miquel.raynal at bootlin.com
Fri Sep 4 10:38:32 PDT 2026
On Wed, 02 Sep 2026 15:05:42 +0800, Runyu Xiao wrote:
> 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.
>
>
> [...]
Applied to mtd/fixes, thanks!
[1/1] mtd: rawnand: cadence: Initialize IRQ state before requesting IRQ
commit: c4da23777d35f4aaae7ff0ea9a503ba2702ef53c
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
More information about the linux-mtd
mailing list