---
name: "snd_soc_kcontrol_component"
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_kcontrol_component"
---

# snd\_soc\_kcontrol\_component(9)

Returns the component that registered the control

## NAME

snd\_soc\_kcontrol\_component - Returns the component that registered the control

## SYNOPSIS

**struct snd\_soc\_component \* snd\_soc\_kcontrol\_component(struct snd\_kcontrol \*** *kcontrol***);**

## ARGUMENTS

*kcontrol*

The control for which to get the component

## NOTE

This function will work correctly if the control has been registered for a component. Either with **snd\_soc\_add\_codec\_controls** or **snd\_soc\_add\_platform\_controls** or via table based setup for either a CODEC, a platform or component driver. Otherwise the behavior is undefined.

## COPYRIGHT
