other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SND_POWER_WAIT(9) | Management of Cards and Device | SND_POWER_WAIT(9) |
NAME¶
snd_power_wait - wait until the power-state is changed.SYNOPSIS¶
int
snd_power_wait(struct snd_card * card,
unsigned int power_state);
ARGUMENTS¶
cardsoundcard 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¶
May 2018 | Kernel Hackers Manual 4.9. |