Commit 107fdf0
dmaengine: qcom: bam_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-11-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 425f871 commit 107fdf0
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
657 | | - | |
| 656 | + | |
658 | 657 | | |
659 | 658 | | |
660 | 659 | | |
661 | 660 | | |
662 | 661 | | |
663 | 662 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | 663 | | |
| 664 | + | |
669 | 665 | | |
670 | 666 | | |
671 | | - | |
672 | 667 | | |
673 | 668 | | |
674 | 669 | | |
| |||
0 commit comments