mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
dmaengine: mxs-dma: Fix missing return value from of_dma_controller_register()
[ Upstream commitab2bf6d4c0] Propagate the return value of of_dma_controller_register() in probe() instead of ignoring it. Fixes:a580b8c542("dmaengine: mxs-dma: add dma support for i.MX23/28") Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260225-mxsdma-module-v3-2-8f798b13baa6@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4cafee50af
commit
8995ef2dbe
@@ -824,6 +824,7 @@ static int mxs_dma_probe(struct platform_device *pdev)
|
||||
if (ret) {
|
||||
dev_err(mxs_dma->dma_device.dev,
|
||||
"failed to register controller\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
dev_info(mxs_dma->dma_device.dev, "initialized\n");
|
||||
|
||||
Reference in New Issue
Block a user