Skip to content
Commit 6ab55b21 authored by Stefan Agner's avatar Stefan Agner Committed by Vinod Koul
Browse files

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: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 345e3123
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment