mbox series

[0/2] ASoC: codecs: fix widget name comparisons

Message ID 20231003155710.821315-1-krzysztof.kozlowski@linaro.org
Headers show
Series ASoC: codecs: fix widget name comparisons | expand

Message

Krzysztof Kozlowski Oct. 3, 2023, 3:57 p.m. UTC
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(-)

Comments

Mark Brown Oct. 9, 2023, 6:36 p.m. UTC | #1
On Tue, 03 Oct 2023 17:57:08 +0200, Krzysztof Kozlowski wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: soc-dapm: Add helper for comparing widget name
      commit: 76aca10ccb7c23a7b7a0d56e0bfde2c8cdddfe24
[2/2] ASoC: codecs: wsa-macro: handle component name prefix
      commit: c29e5263d32a6d0ec094d425ae7fef3fa8d4da1c

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark