mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
soc: tegra: fuse: Use dma_request_channel instead of __dma_request_channel()
The __dma_request_channel() prototype has been changed to help to do device node validation, thus we can use dma_request_channel() instead of __dma_request_channel() to keep kernel bisectable. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
f5151311c3
commit
37c0afeb41
@ -110,7 +110,7 @@ static int tegra20_fuse_probe(struct tegra_fuse *fuse)
|
||||
dma_cap_zero(mask);
|
||||
dma_cap_set(DMA_SLAVE, mask);
|
||||
|
||||
fuse->apbdma.chan = __dma_request_channel(&mask, dma_filter, NULL);
|
||||
fuse->apbdma.chan = dma_request_channel(mask, dma_filter, NULL);
|
||||
if (!fuse->apbdma.chan)
|
||||
return -EPROBE_DEFER;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user