snd_soc_kcontrol_component (9) - Linux Man Pages
snd_soc_kcontrol_component: Returns the component that registered the control
snd_soc_kcontrol_component - Returns the component that registered the control
struct snd_soc_component * snd_soc_kcontrol_component(struct snd_kcontrol
- The control for which to get the component
This function will work correctly if the control has been registered for a component. Either with snd_soc_add_codec_controls or snd_soc_add_platform_controls or via table based setup for either a CODEC, a platform or component driver. Otherwise the behavior is undefined.