![](https://secure.gravatar.com/avatar/ed75bd1c5039f5d61a1c57e65cd58c9e.jpg?s=120&d=mm&r=g)
3 Oct
2023
3 Oct
'23
5:57 p.m.
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