carta
snd_soc_runtime_set_dai_fmt(9)

snd_soc_runtime_set_dai_fmt9

Change dai link format for a asoc runtime

Arguments

rtd

The runtime for which the DAI link format should be changed

dai_fmt

The new DAI link format

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.