[PATCH 0/2] ASoC: codecs: fix widget name comparisons

From: Krzysztof Kozlowski
Date: Tue Oct 03 2023 - 11:57:22 EST


Hi,

Some codec drivers compare widget names with strcmp, ignoring the component
name prefix. If prefix is used, the comparisons start failing.
Add a helper to fix the issue.

If the approach looks good, I will fix other codec drivers.

Best regards,
Krzysztof

Krzysztof Kozlowski (2):
ASoC: soc-dapm: Add helper for comparing widget name
ASoC: codecs: wsa-macro: handle component name prefix

include/sound/soc-dapm.h | 1 +
sound/soc/codecs/lpass-wsa-macro.c | 4 ++--
sound/soc/soc-component.c | 1 +
sound/soc/soc-dapm.c | 12 ++++++++++++
4 files changed, 16 insertions(+), 2 deletions(-)

--
2.34.1