On Thu, 23 Oct 2025 11:32:01 +0800, niravkumarlaxmidas.rabara@altera.com wrote:
The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized.
Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use.
[...]
Applied to mtd/fixes, thanks!
[1/1] mtd: rawnand: cadence: fix DMA device NULL pointer dereference commit: 5c56bf214af85ca042bf97f8584aab2151035840
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