From: Sheetal Date: Wed, 25 Mar 2026 10:14:34 +0000 (+0000) Subject: ASoC: tegra: Use dev_err_probe() in tegra210_mvc probe X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2067c1dba07e3816c635601a4b21fbc4a44921c;p=thirdparty%2Flinux.git ASoC: tegra: Use dev_err_probe() in tegra210_mvc probe Log errors in the Tegra210 MVC probe path using dev_err_probe(). Signed-off-by: Sheetal Link: https://patch.msgid.link/20260325101437.3059693-12-sheetal@nvidia.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/tegra/tegra210_mvc.c b/sound/soc/tegra/tegra210_mvc.c index 6cdc5e1f55073..5ab7c07a0ba33 100644 --- a/sound/soc/tegra/tegra210_mvc.c +++ b/sound/soc/tegra/tegra210_mvc.c @@ -741,10 +741,9 @@ static int tegra210_mvc_platform_probe(struct platform_device *pdev) err = devm_snd_soc_register_component(dev, &tegra210_mvc_cmpnt, tegra210_mvc_dais, ARRAY_SIZE(tegra210_mvc_dais)); - if (err) { - dev_err(dev, "can't register MVC component, err: %d\n", err); - return err; - } + if (err) + return dev_err_probe(dev, err, + "can't register MVC component\n"); pm_runtime_enable(dev);