From: Alexander Stein Date: Thu, 19 Jan 2023 07:34:16 +0000 (+0100) Subject: ASoC: imx-hdmi: Use dev_err_probe X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=362e8d0f27c40864b4f8994624409f7b4316d2dd;p=linux.git ASoC: imx-hdmi: Use dev_err_probe This silences -517 errors and helps figuring out why the device probe is deferred. Signed-off-by: Alexander Stein Link: https://lore.kernel.org/r/20230119073416.3064918-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-hdmi.c b/sound/soc/fsl/imx-hdmi.c index a780cf5a65ffa..b6cc7e6c2a320 100644 --- a/sound/soc/fsl/imx-hdmi.c +++ b/sound/soc/fsl/imx-hdmi.c @@ -202,7 +202,7 @@ static int imx_hdmi_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; }