commit | 13e8997924a0df7f0136d742aa829b791889d3ce | [log] [tgz] |
---|---|---|
author | Eric Long <eric.long@spreadtrum.com> | Tue Nov 06 13:01:33 2018 +0800 |
committer | Vinod Koul <vkoul@kernel.org> | Wed Dec 05 14:27:11 2018 +0530 |
tree | bce9d4a8157e6b529c5859fff7c97b5883d9ddf8 | |
parent | d762ab33ccd03e8c1ad50b814d2deccec15b8c28 [diff] |
dmaengine: sprd: Fix the last link-list configuration We will pass sglen as 0 configure the last link-list configuration when filling the descriptor, which will cause the incorrect link-list configuration. Thus we should check if the sglen is 0 to configure the correct link-list configuration. Signed-off-by: Eric Long <eric.long@spreadtrum.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>