Skip to content

Commit e532cd7

Browse files
nxpfrankligregkh
authored andcommitted
dmaengine: mxs-dma: Fix missing return value from of_dma_controller_register()
[ Upstream commit ab2bf6d ] Propagate the return value of of_dma_controller_register() in probe() instead of ignoring it. Fixes: a580b8c ("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>
1 parent 17602a4 commit e532cd7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/dma/mxs-dma.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ static int mxs_dma_probe(struct platform_device *pdev)
824824
if (ret) {
825825
dev_err(mxs_dma->dma_device.dev,
826826
"failed to register controller\n");
827+
return ret;
827828
}
828829

829830
dev_info(mxs_dma->dma_device.dev, "initialized\n");

0 commit comments

Comments
 (0)