SysTutorials

Linux Manual Pages › Section 9

snd_soc_dapm_kcontrol_codec(9)

snd_soc_dapm_kcontrol_codec - Returns the codec associated to a kcontrol

Synopsis

struct snd_soc_codec *snd_soc_dapm_kcontrol_codec(struct snd_kcontrol *kcontrol);

Arguments

kcontrol

The kcontrol

Description

This function must only be used on DAPM contexts that are known to be part of a CODEC (e.g. in a CODEC driver). Otherwise the behavior is undefined.

Copyright