other versions
SND_SOC_RUNTIME_SET_(9) | ASoC | SND_SOC_RUNTIME_SET_(9) |
NAME¶
snd_soc_runtime_set_dai_fmt - Change DAI link format for a ASoC runtimeSYNOPSIS¶
int
snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime * rtd,
unsigned int dai_fmt);
ARGUMENTS¶
rtdThe runtime for which the DAI link format should be
changed
dai_fmt
The new DAI link format
DESCRIPTION¶
This function updates the DAI link format for all DAIs connected to the DAI link for the specified runtime.NOTE¶
For setups with a static format set the dai_fmt field in the corresponding snd_dai_link struct instead of using this function. Returns 0 on success, otherwise a negative error code.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |