Messages in this thread | | | From | Krzysztof Kozlowski <> | Subject | [PATCH 0/2] ASoC: codecs: fix widget name comparisons | Date | Tue, 3 Oct 2023 17:57:08 +0200 |
| |
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
| |