diff options
author | Jie Yang <yang.jie@intel.com> | 2015-05-27 07:45:44 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-27 15:25:17 -0400 |
commit | e0ecb05a965d0ff77ec65499bbc74eacd8d93452 (patch) | |
tree | 94686980e7e8de96885b1a6a6b643060dc833d1d /sound/core | |
parent | 31ea49baa1aa97f882ee3da8142ec5a9dac509c2 (diff) |
ALSA: Kconfig: add config item SND_PROC_FS for expert
For some embedded devices, we need reduce code size and data
footprint as much as possible, e.g. disabling procfs, hw/sw
params refinement, mmap, dpcm, dapm, compressed API...
Here add SND_PROC_FS item for expert, we can unselect it to
disable sound proc FS and reduce memory footprint.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sound/core/Kconfig b/sound/core/Kconfig index 937f5c763899..6c96feeaf01e 100644 --- a/sound/core/Kconfig +++ b/sound/core/Kconfig | |||
@@ -182,9 +182,18 @@ config SND_SUPPORT_OLD_API | |||
182 | Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3 | 182 | Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3 |
183 | or older). | 183 | or older). |
184 | 184 | ||
185 | config SND_PROC_FS | ||
186 | bool "Sound Proc FS Support" if EXPERT | ||
187 | depends on PROC_FS | ||
188 | default y | ||
189 | help | ||
190 | Say 'N' to disable Sound proc FS, which may reduce code size about | ||
191 | 9KB on x86_64 platform. | ||
192 | If unsure say Y. | ||
193 | |||
185 | config SND_VERBOSE_PROCFS | 194 | config SND_VERBOSE_PROCFS |
186 | bool "Verbose procfs contents" | 195 | bool "Verbose procfs contents" |
187 | depends on PROC_FS | 196 | depends on SND_PROC_FS |
188 | default y | 197 | default y |
189 | help | 198 | help |
190 | Say Y here to include code for verbose procfs contents (provides | 199 | Say Y here to include code for verbose procfs contents (provides |