snd_soc_register_dai (9) Linux Manual Page
snd_soc_register_dai – Register a DAI dynamically & create its widgets
Synopsis
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
Description
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.
