Commit c2a93d75 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Ulf Hansson

mmc: moxart: Use dma_request_chan() directly for channel request

dma_request_slave_channel_reason() is:
	dma_request_chan(dev, name)
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 5503301f
...@@ -608,8 +608,8 @@ static int moxart_probe(struct platform_device *pdev) ...@@ -608,8 +608,8 @@ static int moxart_probe(struct platform_device *pdev)
host->timeout = msecs_to_jiffies(1000); host->timeout = msecs_to_jiffies(1000);
host->sysclk = clk_get_rate(clk); host->sysclk = clk_get_rate(clk);
host->fifo_width = readl(host->base + REG_FEATURE) << 2; host->fifo_width = readl(host->base + REG_FEATURE) << 2;
host->dma_chan_tx = dma_request_slave_channel_reason(dev, "tx"); host->dma_chan_tx = dma_request_chan(dev, "tx");
host->dma_chan_rx = dma_request_slave_channel_reason(dev, "rx"); host->dma_chan_rx = dma_request_chan(dev, "rx");
spin_lock_init(&host->lock); spin_lock_init(&host->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment