dmaengine: edma: Simplify and optimize the edma_execute path
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Oct 2015 11:42:45 +0000 (14:42 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Oct 2015 14:27:10 +0000 (19:57 +0530)
commit8fa7ff4fc01d7f43cd03143e4ec58323865bfacf
treebb95f70118de2efc8230dd2adb038443bd4d7f11
parentd28c2b36d6027702585ca93773b3edd6e5f1a5bd
dmaengine: edma: Simplify and optimize the edma_execute path

The code path in edma_execute() and edma_callback() can be simplified
and make it more optimal.
There is not need to call in to edma_execute() when the transfer
has been finished for example.
Also the handling of missed/first or next batch of paRAMs can
be done in a more optimal way.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c