]> err.no Git - linux-2.6/commitdiff
[ALSA] hda_intel: increase maximum DMA buffer size to 1024MB
authorJaroslav Kysela <perex@suse.cz>
Fri, 6 Oct 2006 07:34:20 +0000 (09:34 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:00:12 +0000 (09:00 +0100)
See ALSA bug#2481 .

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_intel.c

index 1a7e82104bb91f34a93bcfed92247a1b5ecd5bee..d15c9b845f23d55dd83384be40376e6f4c1eed69 100644 (file)
@@ -1285,7 +1285,7 @@ static int __devinit create_codec_pcm(struct azx *chip, struct hda_codec *codec,
                snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &azx_pcm_ops);
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
                                              snd_dma_pci_data(chip->pci),
-                                             1024 * 64, 1024 * 128);
+                                             1024 * 64, 1024 * 1024);
        chip->pcm[pcm_dev] = pcm;
        if (chip->pcm_devs < pcm_dev + 1)
                chip->pcm_devs = pcm_dev + 1;