'\" t .\" Title: snd_power_wait .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Sound Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_POWER_WAIT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Sound Devices" .\" ----------------------------------------------------------------- .\" * 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_power_wait \- wait until the power\-state is changed\&. .SH "SYNOPSIS" .HP \w'int\ snd_power_wait('u .BI "int snd_power_wait(struct\ snd_card\ *\ " "card" ", unsigned\ int\ " "power_state" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 soundcard structure .RE .PP \fIpower_state\fR .RS 4 expected power state .RE .SH "DESCRIPTION" .PP Waits until the power\-state is changed\&. .SH "RETURN" .PP Zero if successful, or a negative error code\&. .SH "NOTE" .PP the power lock must be active before call\&. .SH "COPYRIGHT" .br