[PATCH v1 1/4] dmaengine: Use dma_request_channel() instead of __dma_request_channel()

Andy Shevchenko
2025-11-09T22:29:47Z

Reduce use of internal __dma_request_channel() function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/dma/dmaengine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index ca13cd39330b..cd1c0744bfc0 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -886,7 +886,7 @@ struct dma_chan *dma_request_chan_by_mask(const dma_cap_mask_t *mask)
if (!mask)
return ERR_PTR(-ENODEV);

- chan = __dma_request_channel(mask, NULL, NULL, NULL);
+ chan = dma_request_channel(mask, NULL, NULL);
if (!chan) {
mutex_lock(&dma_list_mutex);
if (list_empty(&dma_device_list))
--
2.50.1