'\" t .\" Title: snd_soc_kcontrol_codec .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_SOC_KCONTROL_COD" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_codec \- Returns the CODEC that registered the control .SH "SYNOPSIS" .HP \w'struct\ snd_soc_codec\ *\ snd_soc_kcontrol_codec('u .BI "struct snd_soc_codec * snd_soc_kcontrol_codec(struct\ snd_kcontrol\ *\ " "kcontrol" ");" .SH "ARGUMENTS" .PP \fIkcontrol\fR .RS 4 The control for which to get the CODEC .RE .SH "NOTE" .PP This function will only work correctly if the control has been registered with \fBsnd_soc_add_codec_controls\fR or via table based setup of snd_soc_codec_driver\&. Otherwise the behavior is undefined\&. .SH "COPYRIGHT" .br