projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184434f
)
spi: cadence-quadspi: Add missing blank line in cqspi_request_mmap_dma()
author
Ian Abbott
<abbotti@mev.co.uk>
Tue, 10 May 2022 11:51:40 +0000
(12:51 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 10 May 2022 13:01:58 +0000
(14:01 +0100)
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>
drivers/spi/spi-cadence-quadspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-cadence-quadspi.c
b/drivers/spi/spi-cadence-quadspi.c
index
41922a5
..
242ad8a
100644
(file)
--- 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");
}