Re: [PATCH 3/4] ASoC: tegra: tegra210_amx: Return the original error directly
From: Thierry Reding
Date: Wed Jul 15 2026 - 07:49:41 EST
On Wed, Jul 15, 2026 at 12:11:14PM +0700, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> 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 <phucduc.bui@xxxxxxxxx>
> ---
> sound/soc/tegra/tegra210_amx.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
I suppose this could've been merged with the prior patch since it does
effectively the same thing. In either case:
Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature