Skip to content

Commit e0ecb05

Browse files
keyonjietiwai
authored andcommitted
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>
1 parent 31ea49b commit e0ecb05

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

‎sound/core/Kconfig‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,18 @@ config SND_SUPPORT_OLD_API
182182
Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
183183
or older).
184184

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+
185194
config SND_VERBOSE_PROCFS
186195
bool "Verbose procfs contents"
187-
depends on PROC_FS
196+
depends on SND_PROC_FS
188197
default y
189198
help
190199
Say Y here to include code for verbose procfs contents (provides

0 commit comments

Comments
 (0)