hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/sound/core/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 # ALSA soundcard-configuration
23 config SND_TIMER
34 tristate
....@@ -71,11 +72,11 @@
7172 config SND_PCM_OSS_PLUGINS
7273 bool "OSS PCM (digital audio) API - Include plugin system"
7374 depends on SND_PCM_OSS
74
- default y
75
+ default y
7576 help
76
- If you disable this option, the ALSA's OSS PCM API will not
77
- support conversion of channels, formats and rates. It will
78
- behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
77
+ If you disable this option, the ALSA's OSS PCM API will not
78
+ support conversion of channels, formats and rates. It will
79
+ behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
7980
8081 config SND_PCM_TIMER
8182 bool "PCM timer interface" if EXPERT
....@@ -127,13 +128,13 @@
127128 or older).
128129
129130 config SND_PROC_FS
130
- bool "Sound Proc FS Support" if EXPERT
131
- depends on PROC_FS
132
- default y
133
- help
134
- Say 'N' to disable Sound proc FS, which may reduce code size about
135
- 9KB on x86_64 platform.
136
- If unsure say Y.
131
+ bool "Sound Proc FS Support" if EXPERT
132
+ depends on PROC_FS
133
+ default y
134
+ help
135
+ Say 'N' to disable Sound proc FS, which may reduce code size about
136
+ 9KB on x86_64 platform.
137
+ If unsure say Y.
137138
138139 config SND_VERBOSE_PROCFS
139140 bool "Verbose procfs contents"
....@@ -141,8 +142,8 @@
141142 default y
142143 help
143144 Say Y here to include code for verbose procfs contents (provides
144
- useful information to developers when a problem occurs). On the
145
- other side, it makes the ALSA subsystem larger.
145
+ useful information to developers when a problem occurs). On the
146
+ other side, it makes the ALSA subsystem larger.
146147
147148 config SND_VERBOSE_PRINTK
148149 bool "Verbose printk"
....@@ -163,7 +164,7 @@
163164 depends on SND_DEBUG
164165 help
165166 Say Y here to enable extra-verbose debugging messages.
166
-
167
+
167168 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
168169 So, say Y only if you are ready to be annoyed.
169170
....@@ -177,6 +178,15 @@
177178 sound clicking when system is loaded, it may help to determine
178179 the process or driver which causes the scheduling gaps.
179180
181
+config SND_CTL_VALIDATION
182
+ bool "Perform sanity-checks for each control element access"
183
+ depends on SND_DEBUG
184
+ help
185
+ Say Y to enable the additional validation of each control element
186
+ access, including sanity-checks like whether the values returned
187
+ from the driver are in the proper ranges or the check of the invalid
188
+ access at out-of-array areas.
189
+
180190 config SND_VMASTER
181191 bool
182192