Re: [PATCH] ASoC: ti: omap-twl4030: Check for missing card name after parsing
From: Jarkko Nikula
Date: Tue Aug 11 2026 - 14:11:22 EST
On 05/08/2026 7:45 am, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> Return any error from snd_soc_of_parse_card_name() directly. If the
> helper returns successfully but card->name remains unset, report the
> missing card name explicitly before returning -ENODEV.
>
> Suggested-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
> ---
> sound/soc/ti/omap-twl4030.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>