aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2011-01-19 06:13:06 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-29 22:34:10 -0500
commit939fd4f077269dd863cd630a3b3195a20acf7d02 (patch)
treef889d81f417645d3e3a903d0fb9422e84dfea5b9 /drivers/dma
parent6866fd3b7289a283741752b73e0e09f410b7639d (diff)
dmaengine: imx-sdma: propagate error in sdma_probe() instead of returning 0
Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/imx-sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 75df8b937413..1dbaf61eea2d 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -1348,7 +1348,7 @@ err_clk:
1348err_request_region: 1348err_request_region:
1349err_irq: 1349err_irq:
1350 kfree(sdma); 1350 kfree(sdma);
1351 return 0; 1351 return ret;
1352} 1352}
1353 1353
1354static int __exit sdma_remove(struct platform_device *pdev) 1354static int __exit sdma_remove(struct platform_device *pdev)