snd_soc_register_dai9
Register a dai dynamically & create its widgets
Usage
int snd_soc_register_dai(struct snd_soc_component * component, struct snd_soc_dai_driver * dai_drv);
Arguments
component
The component the DAIs are registered for
dai_drv
DAI driver to use for the DAI
Overview
Topology can use this API to register DAIs when probing a component. These DAIs's widgets will be freed in the card cleanup and the DAIs will be freed in the component cleanup.