snd_soc_kcontrol_codec(9)

snd_soc_kcontrol_codec9

Returns the codec that registered the control

Usage

struct snd_soc_codec * snd_soc_kcontrol_codec(struct snd_kcontrol * kcontrol);

Arguments

kcontrol

The control for which to get the CODEC

Note

This function will only work correctly if the control has been registered with snd_soc_add_codec_controls or via table based setup of snd_soc_codec_driver. Otherwise the behavior is undefined.

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