Re: [PATCH] ASoC: core: Don't set platform name when of_node is set

From: Mark Brown
Date: Fri Mar 12 2021 - 06:59:38 EST


On Fri, Mar 12, 2021 at 12:59:29PM +0200, Daniel Baluta wrote:
> On Fri, Mar 12, 2021 at 12:50 PM Mark Brown <broonie@xxxxxxxxxx> wrote:

> > If an explicit name has been provided why would we override it with an
> > autogenerated one?

> Wait, are you asking why the initial code:

> dai_link->platforms->name = component->name;

> is there in the initial code?

No, just the opposite! If there's an explict name configured why do you
want to ignore it?

Attachment: signature.asc
Description: PGP signature