snd_power_wait
Prev | Card Management | Next

## 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

`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.

Prev | Up | Next
snd_card_file_remove | Home | Device Components