Merge tag 'dmaengine-5.3-rc1' of git://git.infradead.org/users/vkoul/slave-dma
[linux-block.git] / drivers / dma / of-dma.c
index 1e4d9ef2aea11f33126c45f2cb0d3515a76de065..c2d779daa4b51ac8d5373a1ccfa8185d3b1f0233 100644 (file)
@@ -313,8 +313,8 @@ struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec,
        if (count != 1)
                return NULL;
 
-       return dma_request_channel(info->dma_cap, info->filter_fn,
-                       &dma_spec->args[0]);
+       return __dma_request_channel(&info->dma_cap, info->filter_fn,
+                                    &dma_spec->args[0], dma_spec->np);
 }
 EXPORT_SYMBOL_GPL(of_dma_simple_xlate);