]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: xilinx: xdma: use sg_nents_for_dma() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 8 Jan 2026 10:50:24 +0000 (11:50 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 9 Jan 2026 03:06:01 +0000 (08:36 +0530)
commit3c8a86ed002ab8fb287ee4ec92f0fd6ac5b291d2
treea72ed48e3847185a68929d9fd494f8290d9490fb
parentac326dca6870f0d8e0787e94b1d9c2c91bb358d7
dmaengine: xilinx: xdma: use sg_nents_for_dma() helper

Instead of open coded variant let's use recently introduced helper.

Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260108105619.3513561-14-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xdma.c