[alsa-devel] [PATCH 01/15] ASoC: add helper to change platform name for all dailinks

Mark Brown broonie at kernel.org
Mon Jan 28 13:19:33 CET 2019


On Sat, Jan 26, 2019 at 06:47:57PM +0100, Takashi Iwai wrote:
> Pierre-Louis Bossart wrote:

> > +static inline
> > +int snd_soc_fixup_dai_links_platform_name(struct snd_soc_card *card,
> > +					  const char *platform_name)
> > +{

> Does it have to be inline?  The function has a significant size, and
> it's supposed to be called by every Intel driver.

Yeah, if it gets too big the compiler will just ignore you but given
that this isn't exactly in a hot path or anything I can't see any reason
why it should be inline.
-------------- 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/20190128/c7715dd5/attachment.sig>


More information about the Alsa-devel mailing list