diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-06-16 11:30:22 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-06-16 11:40:38 -0400 |
commit | d39513f85163e202a44283856286fabb6902f2e0 (patch) | |
tree | eb9d45e6681548e741887ff0f6855df1c6e20746 /sound/hda/Kconfig | |
parent | 0b2d71175990629f11189f5df98cc0c26ae61993 (diff) |
ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core
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>
Diffstat (limited to 'sound/hda/Kconfig')
-rw-r--r-- | sound/hda/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/hda/Kconfig b/sound/hda/Kconfig index 6dc3914fd28b..3129546398d0 100644 --- a/sound/hda/Kconfig +++ b/sound/hda/Kconfig | |||
@@ -14,3 +14,16 @@ config SND_HDA_I915 | |||
14 | config SND_HDA_EXT_CORE | 14 | config SND_HDA_EXT_CORE |
15 | tristate | 15 | tristate |
16 | select SND_HDA_CORE | 16 | select SND_HDA_CORE |
17 | |||
18 | config SND_HDA_PREALLOC_SIZE | ||
19 | int "Pre-allocated buffer size for HD-audio driver" | ||
20 | range 0 32768 | ||
21 | default 64 | ||
22 | help | ||
23 | Specifies the default pre-allocated buffer-size in kB for the | ||
24 | HD-audio driver. A larger buffer (e.g. 2048) is preferred | ||
25 | for systems using PulseAudio. The default 64 is chosen just | ||
26 | for compatibility reasons. | ||
27 | |||
28 | Note that the pre-allocation size can be changed dynamically | ||
29 | via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. | ||