Re: [PATCH] Revert "ASoC: tegra: machine: Handle component name prefix"

From: Krzysztof Kozlowski
Date: Mon Oct 07 2024 - 09:01:14 EST


On 07/10/2024 10:12, Benjamin Bara wrote:
> From: Benjamin Bara <benjamin.bara@xxxxxxxxxxx>
>
> This reverts commit f82eb06a40c86c9a82537e956de401d497203d3a.
>
> Tegra is adding the DAPM of the respective widgets directly to the card
> and therefore the DAPM has no component. Without the component, the
> precondition for snd_soc_dapm_to_component() fails, which results in
> undefined behavior. Use the old implementation, as we cannot have a
> prefix without component.
>
> Cc: stable@xxxxxxxxxxxxxxx # v6.7+

Fixes: f82eb06a40c8 ("ASoC: tegra: machine: Handle component name prefix")

I think Samsung speyside from the same patchset might repeat this mistake.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof