Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://msgid.link/r/20240314141642.2943605-1-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Alexander Stein and committed by
Mark Brown
3ca49e7f 1fdc23aa

+3 -1
+3 -1
sound/soc/fsl/fsl_ssi.c
··· 1401 1401 goto error_pcm; 1402 1402 } else { 1403 1403 ret = imx_pcm_dma_init(pdev); 1404 - if (ret) 1404 + if (ret) { 1405 + dev_err_probe(dev, ret, "Failed to init PCM DMA\n"); 1405 1406 goto error_pcm; 1407 + } 1406 1408 } 1407 1409 1408 1410 return 0;