aboutsummaryrefslogtreecommitdiff
path: root/sound/core/pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-01-21 14:27:14 +0100
committerTakashi Iwai <tiwai@suse.de>2010-01-21 14:27:14 +0100
commit8b296c8f9f660b70e958e6e6b9b4293e6ae854f2 (patch)
tree44835f43c998fded6cf13c624032e788611369f9 /sound/core/pcm.c
parent88501ce18eaaf1273e024d26926134972f4644ea (diff)
parentc91a988dc6551c66418690e36b2a23cdb0255da8 (diff)
Merge remote branch 'alsa/devel' into topic/misc
Diffstat (limited to 'sound/core/pcm.c')
-rw-r--r--sound/core/pcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c
index df57a0e30bf..0d428d0896d 100644
--- a/sound/core/pcm.c
+++ b/sound/core/pcm.c
@@ -894,6 +894,7 @@ int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream,
memset((void*)runtime->control, 0, size);
init_waitqueue_head(&runtime->sleep);
+ init_waitqueue_head(&runtime->tsleep);
runtime->status->state = SNDRV_PCM_STATE_OPEN;