Re: [PATCH v2 3/6] mtd: spi-nor: cadence-quadspi: Don't initialize rx_dma_complete on failure
From: Tudor.Ambarus
Date: Thu May 28 2020 - 14:42:33 EST
On Tuesday, May 26, 2020 12:36:01 PM EEST Vignesh Raghavendra wrote:
> If driver fails to acquire DMA channel then don't initialize
> rx_dma_complete struct as it won't be used.
>
> Signed-off-by: Vignesh Raghavendra <vigneshr@xxxxxx>
> ---
> drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>