]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: k3dma: use sg_nents_for_dma() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 8 Jan 2026 10:50:17 +0000 (11:50 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 9 Jan 2026 03:06:00 +0000 (08:36 +0530)
commit3fc49d21f3a46866724ff8ef8a79c6e2cd9d7676
treef3552b6287422d442a1307b0b57fa6ef5d778b67
parent5d6ceb254fa9ac1f50932c42a0a9a8bedaa3190d
dmaengine: k3dma: 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-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/k3dma.c