On 07/10/2024 10:12, Benjamin Bara wrote:
From: Benjamin Bara benjamin.bara@skidata.com
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@vger.kernel.org # 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@linaro.org
Best regards, Krzysztof