snd_soc_dapm_to_codec(9)

snd_soc_dapm_to_codec9

Casts a dapm context to the codec it is embedded in

Usage

struct snd_soc_codec * snd_soc_dapm_to_codec(struct snd_soc_dapm_context * dapm);

Arguments

dapm

The DAPM context to cast to the CODEC

Overview

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.

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