---
name: "snd_power_wait"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_power_wait"
---

# snd\_power\_wait(9)

wait until the power-state is changed.

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

## COPYRIGHT
