diff options
author | Mark Brown <broonie@kernel.org> | 2023-01-07 00:13:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-10 14:32:34 +0100 |
commit | 1a77d59e7e3917e311e91ff2908ef23c3250bec0 (patch) | |
tree | 839fe1e547fa308b08be09151deb0ca4b3002e2d | |
parent | ASoC: dt-bindings: nau8822: add nuvoton,spk-btl property to dtschema (diff) | |
download | linux-1a77d59e7e3917e311e91ff2908ef23c3250bec0.tar.xz linux-1a77d59e7e3917e311e91ff2908ef23c3250bec0.zip |
ASoC: fsl-asoc-card: Log error code when we fail to register
The chances are that any error we see here will be EPROBE_DEFER but let's
actually tell the user so they know.
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230106-asoc-fsl-err-log-v1-1-49d845c99434@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/fsl/fsl-asoc-card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index c836848ef0a6..58834e56a278 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -855,7 +855,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev) ret = devm_snd_soc_register_card(&pdev->dev, &priv->card); if (ret) { - dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed\n"); + dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed: %d\n", ret); goto asrc_fail; } |