diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2011-01-19 12:13:06 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-30 04:34:10 +0100 |
commit | 939fd4f077269dd863cd630a3b3195a20acf7d02 (patch) | |
tree | f889d81f417645d3e3a903d0fb9422e84dfea5b9 | |
parent | dmaengine i.MX SDMA: Fix firmware loading (diff) | |
download | linux-939fd4f077269dd863cd630a3b3195a20acf7d02.tar.xz linux-939fd4f077269dd863cd630a3b3195a20acf7d02.zip |
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>
-rw-r--r-- | drivers/dma/imx-sdma.c | 2 |
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: err_request_region: err_irq: kfree(sdma); - return 0; + return ret; } static int __exit sdma_remove(struct platform_device *pdev) |