Re: [PATCH 2/4] ASoC: tegra: tegra210_adx: Return the original error directly

Thierry Reding <[email protected]>
Newsgroups org.kernel.vger.linux-tegra,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <aldzYg3fCJvf9rp1@orome>
On Wed, Jul 15, 2026 at 12:11:13PM +0700, [email protected] wrote:
> From: bui duc phuc <[email protected]>
> 
> snd_soc_add_component_controls() already reports failures internally.
> Return its error code directly instead of logging the error again in the
> component probe callback. Also remove the now unnecessary local error
> variable.
> 
> Signed-off-by: bui duc phuc <[email protected]>
> ---
>  sound/soc/tegra/tegra210_adx.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)

Reviewed-by: Thierry Reding <[email protected]>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmpXc2gACgkQ3SOs138+
s6Fdpg//XXhGzOY4o6FVeji6Ayfs3TArOLP5iStEplMf7gkXyHQe8plLRRttyrLI
R0jM2h/Cc3342c0e5qLgzUbb9sN/29PtoiCQvbc382Ey6jiBIBxO464EepJRReuZ
fgclGD/WXVCP8DJWFVrgP0yQjYscuXDHH8O+AJ30RN/6rIXfo+W/GPhTmZH1381v
UVDNZR40tsVWbcTJKr7vhMEYFHyud2cttfob+IuEky/3ri2QazfmepEgKzs+pDDU
BeTDAgtHH5hlvbRXH36rmDMKH651lj/afjmHtn2nH/qjzSy6km4NvcV9+FCtHzTk
FLIATMm4v0hoY4TefZ87TAQPY6+2he2/0wVm5DFSdJmHmX0gpTS+UKIBF79dgO4p
Gzyj00rLHOMQ12Y2qTALYKCbN96pzu1EHMVv+1/E38CDt7HMpbuhe71Gho4IKd/7
0IfLFuIQYY0eWRWRETc+MDEhOO9fCxYx4vduVY5ubCUMRNafMHIY3np0oFx+Gtae
VFP+Yw+k4fUZpdEBfefNiHknInM/WHSKNnbtgqIATfiHnmUVo0E4eEgjc1WTCd0q
vHh97v7a1oIiY1ifw403MuMEcwu8oary7SmdIK9bcnUeh3Ri3IDKPiir6qd1biFH
BvAJI18PrdAEnchCdiXl7T+2KfF6rOXqIQBPEPUEr25PdjuPE+8=
=QnsR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.