mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
i2c: sh_mobile: 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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
67d7630f0e
commit
efa42b5e3e
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ static struct dma_chan *sh_mobile_i2c_request_dma_chan(struct device *dev,
|
|||
char *chan_name = dir == DMA_MEM_TO_DEV ? "tx" : "rx";
|
||||
int ret;
|
||||
|
||||
chan = dma_request_slave_channel_reason(dev, chan_name);
|
||||
chan = dma_request_chan(dev, chan_name);
|
||||
if (IS_ERR(chan)) {
|
||||
dev_dbg(dev, "request_channel failed for %s (%ld)\n", chan_name,
|
||||
PTR_ERR(chan));
|
||||
|
|
Loading…
Reference in a new issue