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

Mark Brown broonie at kernel.org
Fri Mar 12 11:49:31 CET 2021


On Fri, Mar 12, 2021 at 10:32:54AM +0200, Daniel Baluta wrote:
> On Tue, Mar 9, 2021 at 5:38 PM Mark Brown <broonie at kernel.org> wrote:

> > > +                     if (!dai_link->platforms->of_node)
> > > +                             dai_link->platforms->name = component->name;

> > Why would we prefer the node name over something explicitly configured?

> Not sure I follow your question. I think the difference stands in the
> way we treat OF vs non-OF platforms.

If an explicit name has been provided why would we override it with an
autogenerated one?
-------------- 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/556b3e70/attachment.sig>


More information about the Alsa-devel mailing list