[PATCH v3 12/12] dma: edma: Return if nothing left todo in edma_execute

2013-08-05 Thread Joel Fernandes
It is possible edma_execute is called even when all the SG elements have been submitted for transmission, we add a check for the same and avoid executing the rest of the function. Signed-off-by: Joel Fernandes --- drivers/dma/edma.c |3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 12/12] dma: edma: Return if nothing left todo in edma_execute

2013-08-05 Thread Joel Fernandes
It is possible edma_execute is called even when all the SG elements have been submitted for transmission, we add a check for the same and avoid executing the rest of the function. Signed-off-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c |3 +++ 1 file changed, 3 insertions(+) diff