projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6866fd3
)
dmaengine: imx-sdma: propagate error in sdma_probe() instead of returning 0
author
Shawn Guo
<shawn.guo@freescale.com>
Wed, 19 Jan 2011 11:13:06 +0000
(19:13 +0800)
committer
Dan Williams
<dan.j.williams@intel.com>
Sun, 30 Jan 2011 03:34:10 +0000
(19:34 -0800)
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>
drivers/dma/imx-sdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index 75df8b937413ab12ede51a51d9f0ec3b991316bd..1dbaf61eea2d13f13fa82b08a37dfdb3585e48df 100644
(file)
--- 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)