[RESEND PATCH 3/7] dmaengine: sprd: Fix the last link-list configuration

2018-11-05 Thread Baolin Wang
From: Eric Long 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

[RESEND PATCH 3/7] dmaengine: sprd: Fix the last link-list configuration

2018-11-05 Thread Baolin Wang
From: Eric Long 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