projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af20f01
)
ASoC: fsl-asoc-card: Log error code when we fail to register
author
Mark Brown
<broonie@kernel.org>
Fri, 6 Jan 2023 23:13:37 +0000
(23:13 +0000)
committer
Mark Brown
<broonie@kernel.org>
Tue, 10 Jan 2023 13:32:34 +0000
(13:32 +0000)
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>
sound/soc/fsl/fsl-asoc-card.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl-asoc-card.c
b/sound/soc/fsl/fsl-asoc-card.c
index c836848ef0a65ecce8e6bf970fa48f6bcf91d33c..58834e56a278de6705d18643c4ea533dd34e6f32 100644
(file)
--- 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;
}