'\" t .\" Title: snd_soc_kcontrol_component .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_KCONTROL_COM" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "ASoC" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_soc_kcontrol_component \- Returns the component that registered the control .SH "SYNOPSIS" .HP \w'struct\ snd_soc_component\ *\ snd_soc_kcontrol_component('u .BI "struct snd_soc_component * snd_soc_kcontrol_component(struct\ snd_kcontrol\ *\ " "kcontrol" ");" .SH "ARGUMENTS" .PP \fIkcontrol\fR .RS 4 The control for which to get the component .RE .SH "NOTE" .PP This function will work correctly if the control has been registered for a component\&. Either with \fBsnd_soc_add_codec_controls\fR or \fBsnd_soc_add_platform_controls\fR or via table based setup for either a CODEC, a platform or component driver\&. Otherwise the behavior is undefined\&. .SH "COPYRIGHT" .br