mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel
Currently, if Cadence QSPI driver is probed before dmaengine providers are registered then, driver will fail to get DMA memcpy channel and fall back to PIO mode. But, dma_request_chan_by_mask() can now return -EPROBE_DEFER when requesting memcpy channel during probe. Return this to make sure that driver is re-probed at later point after dmaengine providers are probed. Signed-off-by:Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
Loading
Please sign in to comment