lkml.org 
[lkml]   [2023]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] ASoC: codecs: fix widget name comparisons
Date
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

\
 
 \ /
  Last update: 2023-10-03 17:57    [W:0.266 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site