ALSA: mips: Remove superfluous snd_dma_continuous_data()
[linux-2.6-block.git] / sound / mips / hal2.c
index 6676bcbd769fe166b3b0b8049fb811d18320ad7b..c9e0609397083b3681bd413b412495d3c926a6dd 100644 (file)
@@ -741,8 +741,7 @@ static int hal2_pcm_create(struct snd_hal2 *hal2)
        snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
                        &hal2_capture_ops);
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS,
-                                          snd_dma_continuous_data(GFP_KERNEL),
-                                          0, 1024 * 1024);
+                                          NULL, 0, 1024 * 1024);
 
        return 0;
 }