'\" t .\" Title: snd_soc_runtime_set_dai_fmt .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_RUNTIME_SET_" "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_runtime_set_dai_fmt \- Change DAI link format for a ASoC runtime .SH "SYNOPSIS" .HP \w'int\ snd_soc_runtime_set_dai_fmt('u .BI "int snd_soc_runtime_set_dai_fmt(struct\ snd_soc_pcm_runtime\ *\ " "rtd" ", unsigned\ int\ " "dai_fmt" ");" .SH "ARGUMENTS" .PP \fIrtd\fR .RS 4 The runtime for which the DAI link format should be changed .RE .PP \fIdai_fmt\fR .RS 4 The new DAI link format .RE .SH "DESCRIPTION" .PP This function updates the DAI link format for all DAIs connected to the DAI link for the specified runtime\&. .SH "NOTE" .PP For setups with a static format set the dai_fmt field in the corresponding snd_dai_link struct instead of using this function\&. .PP Returns 0 on success, otherwise a negative error code\&. .SH "COPYRIGHT" .br