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_mixer probe
Log errors in the Tegra210 Mixer probe path using dev_err_probe(). Signed-off-by: Sheetal <sheetal@nvidia.com> Link: https://patch.msgid.link/20260325101437.3059693-11-sheetal@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
67b7bcdd97
commit
3d027d4b93
|
|
@ -651,10 +651,9 @@ static int tegra210_mixer_platform_probe(struct platform_device *pdev)
|
|||
err = devm_snd_soc_register_component(dev, &tegra210_mixer_cmpnt,
|
||||
tegra210_mixer_dais,
|
||||
ARRAY_SIZE(tegra210_mixer_dais));
|
||||
if (err) {
|
||||
dev_err(dev, "can't register MIXER component, err: %d\n", err);
|
||||
return err;
|
||||
}
|
||||
if (err)
|
||||
return dev_err_probe(dev, err,
|
||||
"can't register MIXER component\n");
|
||||
|
||||
pm_runtime_enable(dev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user