Name

snd_soc_add_platform_controls — add an array of controls to a platform. Convenience function to add a list of controls.

Synopsis

int snd_soc_add_platform_controls (struct snd_soc_platform * platform,
 const struct snd_kcontrol_new * controls,
 unsigned int num_controls);
 

Arguments

platform

platform to add controls to

controls

array of controls to add

num_controls

number of elements in the array

Description

Return 0 for success, else error.