'\" t .\" Title: snd_soc_cnew .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_CNEW" "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_cnew \- create new control .SH "SYNOPSIS" .HP \w'struct\ snd_kcontrol\ *\ snd_soc_cnew('u .BI "struct snd_kcontrol * snd_soc_cnew(const\ struct\ snd_kcontrol_new\ *\ " "_template" ", void\ *\ " "data" ", const\ char\ *\ " "long_name" ", const\ char\ *\ " "prefix" ");" .SH "ARGUMENTS" .PP \fI_template\fR .RS 4 control template .RE .PP \fIdata\fR .RS 4 control private data .RE .PP \fIlong_name\fR .RS 4 control long name .RE .PP \fIprefix\fR .RS 4 control name prefix .RE .SH "DESCRIPTION" .PP Create a new mixer control from a template control\&. .PP Returns 0 for success, else error\&. .SH "COPYRIGHT" .br