Commit 9a6daf14 authored by Vignesh Raghavendra's avatar Vignesh Raghavendra Committed by Sekhar Nori
Browse files

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: default avatarVignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 0682d8ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment