snd_soc_component_to_codec (9) Linux Manual Page
snd_soc_component_to_codec – Casts a component to the CODEC it is embedded in
Synopsis
struct snd_soc_codec *snd_soc_component_to_codec(struct snd_soc_component *component);
Arguments
component
-
- The component to cast to a CODEC
Description
This function must only be used on components that are known to be CODECs. Otherwise the behavior is undefined.
