ASoC: ti: omap-twl4030: Check for missing card name after parsing

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@kemnade.info>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260805044556.38183-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
bui duc phuc 2026-08-05 11:45:56 +07:00 • committed by Mark Brown
commit 9e0698b776
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0