---
name: "snd_soc_kcontrol_platform"
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_platform"
---

# snd\_soc\_kcontrol\_platform(9)

Returns the platform that registered the control

## NAME

snd\_soc\_kcontrol\_platform - Returns the platform that registered the control

## SYNOPSIS

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

## ARGUMENTS

*kcontrol*

The control for which to get the platform

## NOTE

This function will only work correctly if the control has been registered with **snd\_soc\_add\_platform\_controls** or via table based setup of a snd\_soc\_platform\_driver. Otherwise the behavior is undefined.

## COPYRIGHT
