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