.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_POWER_WAIT" "9" "09 October 2005" "" "" .SH NAME snd_power_wait \- wait until the power-state is changed. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_power_wait (snd_card_t * \fIcard\fB, unsigned int \fIpower_state\fB, struct file * \fIfile\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcard\fB\fR soundcard structure .TP \fB\fIpower_state\fB\fR expected power state .TP \fB\fIfile\fB\fR file structure for the O_NONBLOCK check (optional) .SH "DESCRIPTION" .PP Waits until the power-state is changed. .SH "NOTE" .PP the power lock must be active before call.