PERFORCE change 113164 for review

Hans Petter Selasky hselasky at FreeBSD.org
Fri Jan 19 16:56:26 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=113164

Change 113164 by hselasky at hselasky_mini_itx on 2007/01/19 16:56:15

	The sound mutex needs to allow recursion, else the 
	new "uaudio" will not work.

Affected files ...

.. //depot/projects/usb/src/sys/dev/sound/pcm/sound.c#3 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/sound/pcm/sound.c#3 (text+ko) ====

@@ -78,7 +78,7 @@
 	m = malloc(sizeof(*m), M_DEVBUF, M_WAITOK | M_ZERO);
 	if (m == NULL)
 		return NULL;
-	mtx_init(m, desc, type, MTX_DEF);
+	mtx_init(m, desc, type, MTX_DEF|MTX_RECURSE);
 	return m;
 #else
 	return (void *)0xcafebabe;


More information about the p4-projects mailing list