lkml.org 
[lkml]   [2006]   [Nov]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 21 Nov 2006 21:33:29 +0100
From wbrana@gmail ...
Subject[PATCH] snd-hda-intel: fix insufficient memory
Module allocates insufficient memory for multichannel and high quality
audio (96 kHz, 24 bit)
Patch for 2.6.19-* changes default/maximal size from 64/128 to 256/4096 kB.

--- sound/pci/hda/hda_intel.c.orig      2006-09-29 13:40:36.000000000 +0200
+++ sound/pci/hda/hda_intel.c   2006-11-05 16:45:13.000000000 +0100
@@ -1270,5 +1270,5 @@
        snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
                                              snd_dma_pci_data(chip->pci),
-                                             1024 * 64, 1024 * 128);
+                                             1024 * 256, 1024 * 4096);
        chip->pcm[pcm_dev] = pcm;
        if (chip->pcm_devs < pcm_dev + 1)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-11-21 20:37    [from the cache]
©2003-2008