snd_soc_add_platform_controls (9) - Linux Manuals

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

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.

COPYRIGHT