mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
dmaengine: imx-sdma: propagate error in sdma_probe() instead of returning 0
Signed-off-by: Shawn Guo <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
6866fd3b72
commit
939fd4f077
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue