diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-01-21 14:27:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-01-21 14:27:14 +0100 |
commit | 8b296c8f9f660b70e958e6e6b9b4293e6ae854f2 (patch) | |
tree | 44835f43c998fded6cf13c624032e788611369f9 /sound/core/pcm_native.c | |
parent | 88501ce18eaaf1273e024d26926134972f4644ea (diff) | |
parent | c91a988dc6551c66418690e36b2a23cdb0255da8 (diff) | |
download | kernel_samsung_smdk4412-8b296c8f9f660b70e958e6e6b9b4293e6ae854f2.zip kernel_samsung_smdk4412-8b296c8f9f660b70e958e6e6b9b4293e6ae854f2.tar.gz kernel_samsung_smdk4412-8b296c8f9f660b70e958e6e6b9b4293e6ae854f2.tar.bz2 |
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 a870fe6..43552fd 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 = { |