dma: edma: Fix memory leak in edma_prep_dma_cyclic()
authorChristian Engelmayer <cengelma@gmx.at>
Mon, 30 Dec 2013 19:48:39 +0000 (20:48 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Mar 2014 06:18:43 +0000 (11:48 +0530)
commite3ddc979465118b7ba46fed7cd10f4421edc3049
tree2cb2d290e415d89338bacba5957eeda1a1fb7746
parent51455ec4f0d6aaff7371b51e8155e0d4bec1aca5
dma: edma: Fix memory leak in edma_prep_dma_cyclic()

Fix a memory leak in the edma_prep_dma_cyclic() error handling path.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c