snd_soc_add_codec_controls — add an array of controls to a codec. Convenience function to add a list of controls. Many codecs were duplicating this code.
int snd_soc_add_codec_controls ( | struct snd_soc_codec * codec, |
const struct snd_kcontrol_new * controls, | |
unsigned int num_controls) ; |