ASoC: codecs: wsa-macro: handle component name prefix
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 3 Oct 2023 15:57:10 +0000 (17:57 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 12:03:29 +0000 (13:03 +0100)
commitc29e5263d32a6d0ec094d425ae7fef3fa8d4da1c
treef99d935b7c29665151b27991c75e4dbd41618972
parent76aca10ccb7c23a7b7a0d56e0bfde2c8cdddfe24
ASoC: codecs: wsa-macro: handle component name prefix

When comparing widget names in wsa_macro_spk_boost_event(), consider
also the component's name prefix.  Otherwise the WSA codec won't have
proper mixer setup resulting in no sound playback through speakers.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231003155710.821315-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-wsa-macro.c