Wait until the power-state is changed.
int snd_power_wait(struct snd_card * card, unsigned int power_state);
card
soundcard structure
power_state
expected power state
Waits until the power-state is changed.
Zero if successful, or a negative error code.
the power lock must be active before call.