Re: [PATCH v2] dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()

From: Vinod Koul

Date: Tue Sep 15 2026 - 13:06:54 EST



On Thu, 10 Sep 2026 10:16:52 +0800, Baineng Shou wrote:
> In mmp_pdma_prep_slave_sg(), for_each_sg() iterates the scatterlist
> putting each entry into 'sg', but the entry length is read from 'sgl'
> (the list head) instead of 'sg' (the current entry):
>
> for_each_sg(sgl, sg, sg_len, i) {
> addr = sg_dma_address(sg);
> avail = sg_dma_len(sgl); /* should be 'sg' */
>
> [...]

Applied, thanks!

[1/1] dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()
commit: 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47

Best regards,
--
~Vinod