dmaengine: edma: Do not change the error code returned from edma_alloc_slot
commit04d537d95e2f48295b6f61ef7029a2dba75e3677
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 31 Jul 2014 10:12:37 +0000 (31 13:12 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 31 Jul 2014 11:57:47 +0000 (31 17:27 +0530)
tree544207dde8e8f6cd963a6b4cd83c9d039b983606
parent10f5c8438475909a27b5fb1c3270d58ae5178ce2
dmaengine: edma: Do not change the error code returned from edma_alloc_slot

In case of edma_alloc_slot() failure during probe we should return the error
unchanged to make debugging easier.

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