Re: [PATCH v3 10/10] ASoC: ti: rx51: Use dev_err_probe() for error handling

Jarkko Nikula <[email protected]> Sun, 26 Jul 2026 20:40:41 +0300
Newsgroups org.kernel.vger.linux-omap,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
On 16/07/2026 1:39 pm, [email protected] wrote:
> From: bui duc phuc <[email protected]>
>
> Replace dev_err() with dev_err_probe() when reporting probe
> failures. This preserves the original error code and suppresses
> unnecessary log messages for deferred probe errors.
>
> Signed-off-by: bui duc phuc <[email protected]>
> ---
>
> Changes in v3:
>  - Add the remaining missing parentheses to `snd_soc_register_card()` 
>    (Cezary).
>
>  sound/soc/ti/rx51.c | 28 ++++++++++++----------------
>  1 file changed, 12 insertions(+), 16 deletions(-)
Acked-by: Jarkko Nikula <[email protected]>