From: Maxime Ripard Date: Thu, 7 May 2015 15:38:10 +0000 (+0200) Subject: dmaengine: xdmac: Rework the chaining logic X-Git-Tag: omap-for-v4.3/legacy-v2-signed~103^2~4^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d0ee751f7f7cd7d44eeb596f3b430ed0b178e07;p=pandora-kernel.git dmaengine: xdmac: Rework the chaining logic So far, we were setting the NDE bit in our descriptors through some logic to try to see if we were the last descriptor in the chain. However, that was turning out to be rather complex to get right, while this information is also available when we actually chain a new descriptor after an already existing one. Simplify this by never setting NDE unless when we actually chain a descriptor. Signed-off-by: Maxime Ripard Acked-by: Ludovic Desroches Signed-off-by: Vinod Koul --- Reading git-diff-tree failed