Преглед изворни кода

[ALSA] hda_intel: increase maximum DMA buffer size to 1024MB

See ALSA bug#2481 .

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela пре 18 година
родитељ
комит
b66b3cfe6c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      sound/pci/hda/hda_intel.c

+ 1 - 1
sound/pci/hda/hda_intel.c

@@ -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;