Re: [PATCH 2/6] ASoC: samsung: aries_wm8994: Drop redundant probe error messages
Cezary Rojewski <[email protected]>
| Newsgroups | gmane.linux.sound,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/11/2026 11:05 AM, [email protected] wrote: > From: bui duc phuc <[email protected]> > > Remove the probe error messages to avoid duplicate error reporting, > since the error is already reported by the called functions. ... > @@ -671,10 +667,8 @@ static int aries_audio_probe(struct platform_device *pdev) > > ret = devm_snd_soc_register_component(dev, &aries_component, > aries_ext_dai, ARRAY_SIZE(aries_ext_dai)); > - if (ret < 0) { > - dev_err(dev, "Failed to register component: %d\n", ret); > + if (ret < 0) > goto out; > - } To be fair, xxx_snd_soc_register_component(), both the devres and the non-devres equivalent do not report anything. The component_initialize() and component_add() do though, most of the time. > > ret = devm_snd_soc_register_card(dev, card); > if (ret)