dmaengine: imx-sdma: return proper error if kzalloc fails
authorAxel Lin <axel.lin@gmail.com>
Tue, 12 Jul 2011 13:00:13 +0000 (21:00 +0800)
committerVinod Koul <vinod.koul@intel.com>
Mon, 25 Jul 2011 13:41:12 +0000 (19:11 +0530)
commit1c1d9547536480626c1be1fb062b81663fb2b88e
tree36cfcb4a110a980a36469589c8ad4df5e29280a9
parent0b052f4a088ddc47a5da23dd733522241314cfb4
dmaengine: imx-sdma: return proper error if kzalloc fails

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c