From: Stefan Agner Date: Thu, 13 Nov 2014 11:56:02 +0000 (+0100) Subject: dmaengine: fsl-edma: fix calculation of remaining bytes X-Git-Tag: omap-for-v3.19/fixes-rc1~107^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab55b214c625f4d56199f7ebd0b419f43f23bb2;p=pandora-kernel.git dmaengine: fsl-edma: fix calculation of remaining bytes If the current transfer control descriptor (TCD) was not yet started, the address will be the same as the initial address. Hence test if the current address is less than or equal to the start address of each TCD. Signed-off-by: Stefan Agner Signed-off-by: Vinod Koul --- Reading git-diff-tree failed