snd_soc_dapm_new_controls(9)
snd_soc_dapm_new_controls - create new dapm controls
Synopsis
int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget, int num);Arguments
dapm
- DAPM context
widget
- widget array
num
- number of widgets
Description
Creates new DAPM controls based upon the templates.
Returns 0 for success else error.