dslinux/linux-2.6.x/sound/arm nds-sound.c
pepsiman
dslinux_pepsiman at user.in-berlin.de
Mon Aug 21 15:01:44 CEST 2006
Update of /cvsroot/dslinux/dslinux/linux-2.6.x/sound/arm
In directory antilope:/tmp/cvs-serv13799
Modified Files:
nds-sound.c
Log Message:
DMA buffers?
Index: nds-sound.c
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/sound/arm/nds-sound.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- nds-sound.c 18 Jun 2006 13:45:37 -0000 1.23
+++ nds-sound.c 21 Aug 2006 13:01:41 -0000 1.24
@@ -320,7 +320,7 @@
/* pre-allocation of buffers */
/* NOTE: this may fail */
//return snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, snd_dma_isa_data(), /*pretend to be an ISA device */
- return snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, snd_dma_continuous_data(GFP_KERNEL),
+ return snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, snd_dma_continuous_data(GFP_DMA),
DMA_BUFFERSIZE, DMA_BUFFERSIZE);
}
More information about the dslinux-commit
mailing list