On 11/21/19 11:40 PM, Kuninori Morimoto wrote:
From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Now soc-core and soc-topology is using snd_soc_add_dai_link(). It sounds like dai_link function. But, it creates new pcm_runtime (= rtd), and connect it to card. The purpose is adding pcm_runtime, not dai_link.
this function seems to have 2 purposes, dai_link operations and pcm_runtime creation.
int snd_soc_add_dai_link(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link) { /* * Notify the machine driver for extra initialization */ if (card->add_dai_link) card->add_dai_link(card, dai_link); _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel