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