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

Mark Brown broonie at kernel.org
Fri Mar 12 12:57:48 CET 2021


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 at kernel.org> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210312/7b901e9e/attachment.sig>


More information about the Alsa-devel mailing list