Commit 939fd4f0 authored by Shawn Guo's avatar Shawn Guo Committed by Dan Williams

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

Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment