'\" t .\" Title: snd_soc_dapm_enable_pin_unlocked .\" 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_DAPM_ENABLE_" "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_dapm_enable_pin_unlocked \- enable pin\&. .SH "SYNOPSIS" .HP \w'int\ snd_soc_dapm_enable_pin_unlocked('u .BI "int snd_soc_dapm_enable_pin_unlocked(struct\ snd_soc_dapm_context\ *\ " "dapm" ", const\ char\ *\ " "pin" ");" .SH "ARGUMENTS" .PP \fIdapm\fR .RS 4 DAPM context .RE .PP \fIpin\fR .RS 4 pin name .RE .SH "DESCRIPTION" .PP Enables input/output pin and its parents or children widgets iff there is a valid audio route and active audio stream\&. .PP Requires external locking\&. .SH "NOTE" .PP \fBsnd_soc_dapm_sync\fR needs to be called after this for DAPM to do any widget power switching\&. .SH "COPYRIGHT" .br