diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-01-19 10:34:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-28 13:51:04 +0300 |
commit | 362e8d0f27c40864b4f8994624409f7b4316d2dd (patch) | |
tree | 86a495bd20a359a402f6fa26436a5c2b568e06e9 | |
parent | dcf6d2ef0e823346a3c1eae3f96e733e92ca656c (diff) | |
download | linux-362e8d0f27c40864b4f8994624409f7b4316d2dd.tar.xz |
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 <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20230119073416.3064918-1-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/fsl/imx-hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-hdmi.c b/sound/soc/fsl/imx-hdmi.c index a780cf5a65ff..b6cc7e6c2a32 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; } |