ASoC: codecs: fix widget name comparisons
authorMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 17:40:09 +0000 (18:40 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 17:40:09 +0000 (18:40 +0100)
commitcc660a4a8ea8d360706db9ca9ed08ac95c906ea5
treec4f06667f0f7a4b223a411df877c7b041a33ebda
parente182212185bbda3440644f732f17a825fa4be456
parentc29e5263d32a6d0ec094d425ae7fef3fa8d4da1c
ASoC: codecs: fix widget name comparisons

Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:

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.