Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_power_wait - wait until the power-state is changed.

SYNOPSIS

       int snd_power_wait  (snd_card_t * card, unsigned int power_state,
                             struct file * file);

ARGUMENTS

       card   soundcard structure

       power_state
              expected power state

       file   file structure for the O_NONBLOCK check (optional)

DESCRIPTION

       Waits until the power-state is changed.

NOTE

       the power lock must be active before call.