diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2022-05-10 13:51:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-10 15:01:58 +0200 |
commit | 76159e2f9a0fa29fd9fccb262687d95282985b49 (patch) | |
tree | 3013d0af55dea17e426491bb6664e251dab1bceb /drivers/spi | |
parent | spi: spi-imx: mx51_ecspi_prepare_message(): skip writing MX51_ECSPI_CONFIG re... (diff) | |
download | linux-76159e2f9a0fa29fd9fccb262687d95282985b49.tar.xz linux-76159e2f9a0fa29fd9fccb262687d95282985b49.zip |
spi: cadence-quadspi: Add missing blank line in cqspi_request_mmap_dma()
Fix "WARNING: Missing a blank line after declarations" reported by
checkpatch.pl.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20220510115141.212779-2-abbotti@mev.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-cadence-quadspi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-cadence-quadspi.c b/drivers/spi/spi-cadence-quadspi.c index 41922a5ea1f4..242ad8a8a7aa 100644 --- a/drivers/spi/spi-cadence-quadspi.c +++ b/drivers/spi/spi-cadence-quadspi.c @@ -1481,6 +1481,7 @@ static int cqspi_request_mmap_dma(struct cqspi_st *cqspi) cqspi->rx_chan = dma_request_chan_by_mask(&mask); if (IS_ERR(cqspi->rx_chan)) { int ret = PTR_ERR(cqspi->rx_chan); + cqspi->rx_chan = NULL; return dev_err_probe(&cqspi->pdev->dev, ret, "No Rx DMA available\n"); } |