Messages in this thread |  | | From | <> | | Subject | Re: [PATCH v3 5/8] mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel | | Date | Mon, 1 Jun 2020 06:31:13 +0000 |
| |
On Monday, June 1, 2020 8:47:22 AM EEST Vignesh Raghavendra wrote: > dma_request_chan_by_mask() can throw EPROBE_DEFER if DMA provider > is not yet probed. Currently driver just falls back to using PIO mode > (which is less efficient) in this case. Instead return probe deferral > error as is so that driver will be re probed once DMA provider is > available. > > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> > --- > .../mtd/spi-nor/controllers/cadence-quadspi.c | 18 +++++++++++++----- > 1 file changed, 13 insertions(+), 5 deletions(-)
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
|  |