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:
df1b014
)
spi: tegra114: Use dma_request_chan() directly for channel request
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Wed, 13 Nov 2019 09:42:55 +0000
(11:42 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 15 Nov 2019 12:15:01 +0000
(12:15 +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>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link:
https://lore.kernel.org/r/20191113094256.1108-9-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra114.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-tegra114.c
b/drivers/spi/spi-tegra114.c
index
e6a450d
..
fc40ab1
100644
(file)
--- a/
drivers/spi/spi-tegra114.c
+++ b/
drivers/spi/spi-tegra114.c
@@
-666,8
+666,7
@@
static int tegra_spi_init_dma_param(struct tegra_spi_data *tspi,
dma_addr_t dma_phys;
int ret;
- dma_chan = dma_request_slave_channel_reason(tspi->dev,
- dma_to_memory ? "rx" : "tx");
+ dma_chan = dma_request_chan(tspi->dev, dma_to_memory ? "rx" : "tx");
if (IS_ERR(dma_chan)) {
ret = PTR_ERR(dma_chan);
if (ret != -EPROBE_DEFER)