snd_power_wait(9)

snd_power_wait9

Wait until the power-state is changed.

Usage

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

Arguments

card

soundcard structure

power_state

expected power state

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.