diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-01-21 16:27:14 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-01-21 16:27:14 +0300 |
commit | 8b296c8f9f660b70e958e6e6b9b4293e6ae854f2 (patch) | |
tree | 44835f43c998fded6cf13c624032e788611369f9 /sound/core/pcm_native.c | |
parent | 88501ce18eaaf1273e024d26926134972f4644ea (diff) | |
parent | c91a988dc6551c66418690e36b2a23cdb0255da8 (diff) | |
download | linux-8b296c8f9f660b70e958e6e6b9b4293e6ae854f2.tar.xz |
Merge remote branch 'alsa/devel' into topic/misc
Diffstat (limited to 'sound/core/pcm_native.c')
-rw-r--r-- | sound/core/pcm_native.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index a870fe696578..43552fd73d24 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -919,6 +919,7 @@ static void snd_pcm_post_stop(struct snd_pcm_substream *substream, int state) runtime->status->state = state; } wake_up(&runtime->sleep); + wake_up(&runtime->tsleep); } static struct action_ops snd_pcm_action_stop = { @@ -1004,6 +1005,7 @@ static void snd_pcm_post_pause(struct snd_pcm_substream *substream, int push) SNDRV_TIMER_EVENT_MPAUSE, &runtime->trigger_tstamp); wake_up(&runtime->sleep); + wake_up(&runtime->tsleep); } else { runtime->status->state = SNDRV_PCM_STATE_RUNNING; if (substream->timer) @@ -1061,6 +1063,7 @@ static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, int state) runtime->status->suspended_state = runtime->status->state; runtime->status->state = SNDRV_PCM_STATE_SUSPENDED; wake_up(&runtime->sleep); + wake_up(&runtime->tsleep); } static struct action_ops snd_pcm_action_suspend = { |