Hi!
When trying to open an already opened /dev/snd/pcmCxDx? up(&pcm->open_mutex)
is not called, so the next open calls hang forever.
I don´t know, if there is a better place for the up call, but this works.
Index: pcm_native.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_native.c,v
retrieving revision 1.82
diff -u -r1.82 pcm_native.c
--- pcm_native.c 30 Sep 2003 09:28:26 -0000 1.82
+++ pcm_native.c 10 Oct 2003 10:34:44 -0000
@@ -1982,9 +1982,9 @@
}
}
remove_wait_queue(&pcm->open_wait, &wait);
+ up(&pcm->open_mutex);
if (err < 0)
goto __error;
- up(&pcm->open_mutex);
return err;
__error:
mfg Ralf Zink
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel