From: Jaroslav Kysela Date: Fri, 6 Oct 2006 07:34:20 +0000 (+0200) Subject: [ALSA] hda_intel: increase maximum DMA buffer size to 1024MB X-Git-Tag: v3.12-rc1~31512^2~62^2~200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b66b3cfe6c2f6560f351278883a325b6ebc478f5;p=kernel%2Fkernel-generic.git [ALSA] hda_intel: increase maximum DMA buffer size to 1024MB See ALSA bug#2481 . Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 1a7e821..d15c9b8 100644 --- a/sound/pci/hda/hda_intel.c +++ b/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;