mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
ASoC: dmaengine: Use dma_request_chan() directly for channel request
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/20191113095445.3211-2-peter.ujfalusi@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
ce21401c9d
commit
de8cf95231
@ -387,7 +387,7 @@ static int dmaengine_pcm_request_chan_of(struct dmaengine_pcm *pcm,
|
||||
name = dmaengine_pcm_dma_channel_names[i];
|
||||
if (config && config->chan_names[i])
|
||||
name = config->chan_names[i];
|
||||
chan = dma_request_slave_channel_reason(dev, name);
|
||||
chan = dma_request_chan(dev, name);
|
||||
if (IS_ERR(chan)) {
|
||||
if (PTR_ERR(chan) == -EPROBE_DEFER)
|
||||
return -EPROBE_DEFER;
|
||||
|
Loading…
Reference in New Issue
Block a user