diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2019-11-13 10:36:16 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-11-14 16:28:56 +0100 |
commit | c2a93d75c0e25d3191d3f150a0a2f16b6ab4c81a (patch) | |
tree | 692050b81dfc868e8d53899cbb332c533e319009 /drivers/mmc/host/moxart-mmc.c | |
parent | mmc: atmel-mci: Use dma_request_chan() directly for channel request (diff) | |
download | linux-c2a93d75c0e25d3191d3f150a0a2f16b6ab4c81a.tar.xz linux-c2a93d75c0e25d3191d3f150a0a2f16b6ab4c81a.zip |
mmc: moxart: Use dma_request_chan() directly for channel request
dma_request_slave_channel_reason() is:
dma_request_chan(dev, name)
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/moxart-mmc.c')
-rw-r--r-- | drivers/mmc/host/moxart-mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c index a0670e9cd012..fc6b9cf27d0b 100644 --- a/drivers/mmc/host/moxart-mmc.c +++ b/drivers/mmc/host/moxart-mmc.c @@ -608,8 +608,8 @@ static int moxart_probe(struct platform_device *pdev) host->timeout = msecs_to_jiffies(1000); host->sysclk = clk_get_rate(clk); host->fifo_width = readl(host->base + REG_FEATURE) << 2; - host->dma_chan_tx = dma_request_slave_channel_reason(dev, "tx"); - host->dma_chan_rx = dma_request_slave_channel_reason(dev, "rx"); + host->dma_chan_tx = dma_request_chan(dev, "tx"); + host->dma_chan_rx = dma_request_chan(dev, "rx"); spin_lock_init(&host->lock); |