dmaengine: edma: Move the pending error check into helper function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Oct 2015 11:43:02 +0000 (14:43 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Oct 2015 14:27:12 +0000 (19:57 +0530)
commit7c3b8b3d2608bb4b1a97749c607440785b60ef7f
tree2c628a9bd9e711cd7f60a1deaf60703f25a1d7a2
parent79ad2e383d01d03188d9e51e2058545203288bc4
dmaengine: edma: Move the pending error check into helper function

In the ccerr interrupt handler the code checks for pending errors in the
error status registers in two different places.
Move the check out to a helper function.

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