Update of /cvsroot/alsa/alsa-driver/usb/usx2y
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7021

Modified Files:
        usbusx2yaudio.c 
Log Message:
Fix against the new DMA API

Index: usbusx2yaudio.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/usb/usx2y/usbusx2yaudio.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- usbusx2yaudio.c     2 Mar 2004 15:32:35 -0000       1.8
+++ usbusx2yaudio.c     30 Mar 2004 08:27:16 -0000      1.9
@@ -1238,11 +1238,11 @@
 
        if (0 > (err = 
snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream,
                                                     SNDRV_DMA_TYPE_CONTINUOUS,
-                                                    snd_pcm_dma_flags(GFP_KERNEL),
+                                                    
snd_dma_continuous_data(GFP_KERNEL),
                                                     64*1024, 128*1024)) ||
            0 > (err = 
snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream,
                                                     SNDRV_DMA_TYPE_CONTINUOUS,
-                                                    snd_pcm_dma_flags(GFP_KERNEL),
+                                                    
snd_dma_continuous_data(GFP_KERNEL),
                                                     usX2Y_capt_substream->endpoints * 
64*1024,
                                                     usX2Y_capt_substream->endpoints * 
128*1024)) ||
            (usX2Y(card)->chip.dev->descriptor.idProduct == USB_ID_US428 &&



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to