snd_power_wait (9) - Linux Manuals
snd_power_wait: wait until the power-state is changed.
NAME
snd_power_wait - wait until the power-state is changed.
SYNOPSIS
-
int snd_power_wait(struct snd_card
* card, unsigned intpower_state);
ARGUMENTS
card
-
- soundcard structure
power_state
- expected power state
DESCRIPTION
Waits until the power-state is changed.
RETURN
Zero if successful, or a negative error code.
NOTE
the power lock must be active before call.
COPYRIGHT