snd_soc_codec_get_dapm(9) Returns the DAPM context for the CODEC

SYNOPSIS

struct snd_soc_dapm_context * snd_soc_codec_get_dapm(struct snd_soc_codec * codec);

ARGUMENTS

codec

The CODEC for which to get the DAPM context

NOTE

Use this function instead of directly accessing the CODEC's dapm field

COPYRIGHT