diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 8753c89..0cbe471 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -2130,11 +2130,16 @@ static int snd_pcm_capture_open(struct inode *inode, struct file *file) return snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_CAPTURE); } +#include static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream) { int err; wait_queue_t wait; + printk("msleep o %p\n", pcm); + mdelay(5000); + printk("msleep o+\n"); + if (pcm == NULL) { err = -ENODEV; goto __error1;