projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c100895
)
spi: qup: Use dma_request_chan() directly for channel request
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Wed, 13 Nov 2019 09:42:53 +0000
(11:42 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 15 Nov 2019 12:14:29 +0000
(12:14 +0000)
dma_request_slave_channel_reason() is:
#define dma_request_slave_channel_reason(dev, name) \
dma_request_chan(dev, name)
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link:
https://lore.kernel.org/r/20191113094256.1108-7-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qup.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-qup.c
b/drivers/spi/spi-qup.c
index 2f559e5311002c16f6b549318a679f4f79887a09..dd3434a407ea669380e770760dcac4629f7e2fe0 100644
(file)
--- a/
drivers/spi/spi-qup.c
+++ b/
drivers/spi/spi-qup.c
@@
-932,11
+932,11
@@
static int spi_qup_init_dma(struct spi_master *master, resource_size_t base)
int ret;
/* allocate dma resources, if available */
- master->dma_rx = dma_request_
slave_channel_reaso
n(dev, "rx");
+ master->dma_rx = dma_request_
cha
n(dev, "rx");
if (IS_ERR(master->dma_rx))
return PTR_ERR(master->dma_rx);
- master->dma_tx = dma_request_
slave_channel_reaso
n(dev, "tx");
+ master->dma_tx = dma_request_
cha
n(dev, "tx");
if (IS_ERR(master->dma_tx)) {
ret = PTR_ERR(master->dma_tx);
goto err_tx;