snd_soc_dapm_to_platform9
Casts a dapm context to the platform it is embedded in
Usage
struct snd_soc_platform * snd_soc_dapm_to_platform(struct snd_soc_dapm_context * dapm);
Arguments
dapm
The DAPM context to cast to the platform.
Overview
This function must only be used on DAPM contexts that are known to be part of a platform (e.g. in a platform driver). Otherwise the behavior is undefined.