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

From: Mark Brown
Date: Mon Oct 07 2024 - 09:55:48 EST


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