On Mon, Oct 07, 2024 at 03:17:45PM +0200, Benjamin Bara wrote: > Instead of reverting, we could probably also rewrite > snd_soc_dapm_widget_name_cmp() to directly use dapm->component, instead > of using snd_soc_dapm_to_component(). In this case, we can explicitly > check for a NULL and skip the prefix check - not sure why it currently > is implemented this way. > I think fixing snd_soc_dapm_widget_name_cmp() to be able to handle all > cases might be the better option, what do you think? Yes, I think that makes sense.
Attachment:
signature.asc
Description: PGP signature
- References:
- [PATCH] Revert "ASoC: tegra: machine: Handle component name prefix"
- From: Benjamin Bara
- Re: [PATCH] Revert "ASoC: tegra: machine: Handle component name prefix"
- From: Krzysztof Kozlowski
- Re: [PATCH] Revert "ASoC: tegra: machine: Handle component name prefix"
- From: Benjamin Bara
- [PATCH] Revert "ASoC: tegra: machine: Handle component name prefix"
- Prev by Date: [PATCH v2 3/3] ASoC: Intel: soc-acpi-intel-ptl-match: Add rt721 support
- Next by Date: Re: [v3?] ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()
- Previous by thread: Re: [PATCH] Revert "ASoC: tegra: machine: Handle component name prefix"
- Next by thread: [PATCH 0/3] Fixes and improvements related to amd soundwire machine
- Index(es):