diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2021-08-25 09:14:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-25 15:15:47 +0200 |
commit | a8946f032eeace6eeb4e51e518275010e5528660 (patch) | |
tree | 7c460fa2348a5b77ba1002c2499e6f1fce6a1d3c /sound/soc | |
parent | ASoC: rt5682: Fix the vol+ button detection issue (diff) | |
download | linux-a8946f032eeace6eeb4e51e518275010e5528660.tar.xz linux-a8946f032eeace6eeb4e51e518275010e5528660.zip |
ASoC: imx-rpmsg: change dev_err to dev_err_probe for -EPROBE_DEFER
Change dev_err to dev_err_probe for no need print error message
when defer probe happens.
Fixes: 39f8405c3e50 ("ASoC: imx-rpmsg: Add machine driver for audio base on rpmsg")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1629875681-16373-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/fsl/imx-rpmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c index f0cae8c59d54..f96fe4ff8425 100644 --- a/sound/soc/fsl/imx-rpmsg.c +++ b/sound/soc/fsl/imx-rpmsg.c @@ -125,7 +125,7 @@ static int imx_rpmsg_probe(struct platform_device *pdev) snd_soc_card_set_drvdata(&data->card, data); ret = devm_snd_soc_register_card(&pdev->dev, &data->card); if (ret) { - dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n", ret); + dev_err_probe(&pdev->dev, ret, "snd_soc_register_card failed\n"); goto fail; } |