Skip to content

Commit 1c83d3d

Browse files
andy-shevvinodkoul
authored andcommitted
dmaengine: Use dma_request_channel() instead of __dma_request_channel()
Reduce use of internal __dma_request_channel() function in public dmaengine.h. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250205145757.889247-3-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 31d4314 commit 1c83d3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/dmaengine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ static inline struct dma_chan
16461646
if (!fn || !fn_param)
16471647
return NULL;
16481648

1649-
return __dma_request_channel(&mask, fn, fn_param, NULL);
1649+
return dma_request_channel(mask, fn, fn_param);
16501650
}
16511651

16521652
static inline char *

0 commit comments

Comments
 (0)