1. NAME

snd_power_wait - wait until the power-state is changed.

2. SYNOPSIS

int snd_power_wait(struct snd_card *  card , unsigned int  power_state );

3. ARGUMENTS

card
    soundcard structure

power_state
    expected power state

4. DESCRIPTION

Waits until the power-state is changed.

5. RETURN

Zero if successful, or a negative error code.

6. NOTE

the power lock must be active before call.

7. COPYRIGHT