diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2024-03-14 15:16:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-25 14:18:34 +0000 |
commit | 3ca49e7f9475ac06614edf1bfece123eafbdf8f3 (patch) | |
tree | 75d25aff67df008e13e1a818de69abcf0911e3ab /sound/soc/fsl/fsl_ssi.c | |
parent | 1fdc23aa57913d7a0a521f71dcdefdde9364d4f9 (diff) |
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>
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.c')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index ab6ec1974807..4ca3a16f7ac0 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -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; |