Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1:/tmp/cvs-serv9884
Modified Files:
pcm_memory.c
Log Message:
Fix oops
Index: pcm_memory.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_memory.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- pcm_memory.c 28 Feb 2003 14:29:19 -0000 1.19
+++ pcm_memory.c 5 Mar 2003 14:54:00 -0000 1.20
@@ -348,7 +348,7 @@
dmab = substream->dma_buffer;
} else {
memset(&dmab, 0, sizeof(dmab));
- snd_dma_alloc_pages(&substream->dma_device, size, NULL);
+ snd_dma_alloc_pages(&substream->dma_device, size, &dmab);
}
if (! dmab.area)
return -ENOMEM;
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog