ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core
authorVinod Koul <vinod.koul@intel.com>
Tue, 16 Jun 2015 15:30:22 +0000 (21:00 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 16 Jun 2015 15:40:38 +0000 (17:40 +0200)
Since this is common option for HDA driver to specfiy pre-allocated
buffer, we should make this option availble to all HDA driver by
moving this to HDA core

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/Kconfig
sound/pci/hda/Kconfig

index 6dc3914fd28bf5d73ffbfd953bb4089b7b8a8a24..3129546398d0c20a27652ec4373281b1d0299dc1 100644 (file)
@@ -14,3 +14,16 @@ config SND_HDA_I915
 config SND_HDA_EXT_CORE
        tristate
        select SND_HDA_CORE
+
+config SND_HDA_PREALLOC_SIZE
+       int "Pre-allocated buffer size for HD-audio driver"
+       range 0 32768
+       default 64
+       help
+         Specifies the default pre-allocated buffer-size in kB for the
+         HD-audio driver.  A larger buffer (e.g. 2048) is preferred
+         for systems using PulseAudio.  The default 64 is chosen just
+         for compatibility reasons.
+
+         Note that the pre-allocation size can be changed dynamically
+         via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
index 98ced971cb4307a94f11108d1f74a024311d475a..e94cfd5c69f7e8e19658b6764dd5160d9f60e36f 100644 (file)
@@ -38,19 +38,6 @@ config SND_HDA_TEGRA
 
 if SND_HDA
 
-config SND_HDA_PREALLOC_SIZE
-       int "Pre-allocated buffer size for HD-audio driver"
-       range 0 32768
-       default 64
-       help
-         Specifies the default pre-allocated buffer-size in kB for the
-         HD-audio driver.  A larger buffer (e.g. 2048) is preferred
-         for systems using PulseAudio.  The default 64 is chosen just
-         for compatibility reasons.
-
-         Note that the pre-allocation size can be changed dynamically
-         via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
-
 config SND_HDA_HWDEP
        bool "Build hwdep interface for HD-audio driver"
        select SND_HWDEP
This page took 0.059318 seconds and 5 git commands to generate.