提交 939fd4f0 编写于 作者: S Shawn Guo 提交者: Dan Williams

dmaengine: imx-sdma: propagate error in sdma_probe() instead of returning 0

Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NDan Williams <dan.j.williams@intel.com>
上级 6866fd3b
......@@ -1348,7 +1348,7 @@ static int __init sdma_probe(struct platform_device *pdev)
err_request_region:
err_irq:
kfree(sdma);
return 0;
return ret;
}
static int __exit sdma_remove(struct platform_device *pdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册