Commit 3ca49e7f authored by Alexander Stein's avatar Alexander Stein Committed by Mark Brown

ASoC: fsl: fsl_ssi: Add dev_err_probe if PCM DMA init fails

This happens especially if this driver is built-in, but SDMA driver
is configured as module.
Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Link: https://msgid.link/r/20240314141642.2943605-1-alexander.stein@ew.tq-group.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1fdc23aa
......@@ -1401,8 +1401,10 @@ static int fsl_ssi_imx_probe(struct platform_device *pdev,
goto error_pcm;
} else {
ret = imx_pcm_dma_init(pdev);
if (ret)
if (ret) {
dev_err_probe(dev, ret, "Failed to init PCM DMA\n");
goto error_pcm;
}
}
return 0;
......
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