Scroll to navigation

SND_SOC_DAPM_KCONTRO(9) ASoC SND_SOC_DAPM_KCONTRO(9)

NAME

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

January 2017 Kernel Hackers Manual 4.8.