---
name: "snd_soc_add_component_controls"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_soc_add_component_controls"
---

# snd\_soc\_add\_component\_controls(9)

Add an array of controls to a component.

## NAME

snd\_soc\_add\_component\_controls - Add an array of controls to a component.

## SYNOPSIS

**int snd\_soc\_add\_component\_controls(struct snd\_soc\_component \*** *component***, const struct snd\_kcontrol\_new \*** *controls***, unsigned int** *num\_controls***);**

## ARGUMENTS

*component*

Component to add controls to

*controls*

Array of controls to add

*num\_controls*

Number of elements in the array

## RETURN

0 for success, else error.

## COPYRIGHT
