'\" t .\" Title: snd_soc_register_dai .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_REGISTER_DAI" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "ASoC" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_soc_register_dai \- Register a DAI dynamically & create its widgets .SH "SYNOPSIS" .HP \w'int\ snd_soc_register_dai('u .BI "int snd_soc_register_dai(struct\ snd_soc_component\ *\ " "component" ", struct\ snd_soc_dai_driver\ *\ " "dai_drv" ");" .SH "ARGUMENTS" .PP \fIcomponent\fR .RS 4 The component the DAIs are registered for .RE .PP \fIdai_drv\fR .RS 4 DAI driver to use for the DAI .RE .SH "DESCRIPTION" .PP Topology can use this API to register DAIs when probing a component\&. These DAIs\*(Aqs widgets will be freed in the card cleanup and the DAIs will be freed in the component cleanup\&. .SH "COPYRIGHT" .br