mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
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 <sheetal@nvidia.com> Link: https://patch.msgid.link/20260325101437.3059693-12-sheetal@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
3d027d4b93
commit
f2067c1dba
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user