snd_soc_add_codec_controls9
Add an array of controls to a codec. convenience function to add a list of controls. many codecs were duplicating this code.
Usage
int snd_soc_add_codec_controls(struct snd_soc_codec * codec, const struct snd_kcontrol_new * controls, unsigned int num_controls);
Arguments
codec
codec to add controls to
controls
array of controls to add
num_controls
number of elements in the array
Overview
Return 0 for success, else error.