Skip to content

Commit 53ec0cd

Browse files
kv2019ilgirdwood
authored andcommitted
audio: remove unnecessary Kconfig defaults
Remove unnecessary 'n' defaults in audio modules. This doesn't affect any current build as 'n' is the default if not set otherwise. By removing the unconditional defaults, it becomes possible to set defaults later in board/family specific Kconfig.defconfig files. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent c5ff120 commit 53ec0cd

16 files changed

Lines changed: 0 additions & 63 deletions

File tree

app/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ config SMP_BOOT_DELAY
55
default y if SMP
66

77
source "Kconfig.zephyr"
8-

src/audio/Kconfig

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ config HOST_DMA_RELOAD_THRESHOLD
4141
config HOST_DMA_STREAM_SYNCHRONIZATION
4242
bool "Stream DMA Transfers Synchronization"
4343
default y if ACE
44-
default n
4544
help
4645
Enable synchronized Firmware Pointer Increment (FPI) register updates of HD-A gateways
4746
belonging to a group defined by the driver. The driver may also specify an update period
@@ -50,7 +49,6 @@ config HOST_DMA_STREAM_SYNCHRONIZATION
5049

5150
config COMP_CHAIN_DMA
5251
bool "Chain DMA component"
53-
default n
5452
depends on IPC_MAJOR_4
5553
depends on DMA_INTEL_ADSP_HDA
5654
help
@@ -100,7 +98,6 @@ rsource "src/Kconfig"
10098

10199
config COMP_STUBS
102100
bool "Build all selected third-party (3P) components with stubs"
103-
default n
104101
help
105102
Select to force all 3P blocks to link against stubs rather than their libraries. This
106103
should only be used in testing environments like fuzzers or CI.
@@ -111,7 +108,6 @@ rsource "eq_iir/Kconfig"
111108

112109
config COMP_TONE
113110
bool "Tone component"
114-
default n
115111
select CORDIC_FIXED
116112
help
117113
Select for Tone component.
@@ -190,7 +186,6 @@ menu "Data formats"
190186

191187
config FORMAT_U8
192188
bool "Support U8"
193-
default n
194189
help
195190
Support unsigned 8 bit processing data format
196191

@@ -218,7 +213,6 @@ config FORMAT_S24LE
218213

219214
config FORMAT_S24_3LE
220215
bool "Support S24_3LE"
221-
default n
222216
help
223217
Support packed 24 bit processing data format with sign and in little endian format
224218

@@ -248,7 +242,6 @@ config FORMAT_CONVERT_HIFI3
248242

249243
config PCM_CONVERTER_FORMAT_U8
250244
bool "Support U8"
251-
default n
252245
help
253246
Support 8 bit processing data format without sign
254247

@@ -284,7 +277,6 @@ config PCM_CONVERTER_FORMAT_S24_4LE_MSB
284277

285278
config PCM_CONVERTER_FORMAT_S24_3LE
286279
bool "Support S24_3LE"
287-
default n
288280
help
289281
Support packed 24 bit processing data format with sign and in little endian format
290282

@@ -309,42 +301,36 @@ config PCM_CONVERTER_FORMAT_FLOAT
309301

310302
config PCM_CONVERTER_FORMAT_S16_C16_AND_S16_C32
311303
bool "Support S16C16 <-> S16C32"
312-
default n
313304
help
314305
Support conversion between 16 bit valid sample size in 16 bit container
315306
and 16 bit valid sample size in 32 bit container
316307

317308
config PCM_CONVERTER_FORMAT_S16_C32_AND_S32_C32
318309
bool "Support S16C32 <-> S32C32"
319-
default n
320310
help
321311
Support conversion between 16 bit valid sample size in 32 bit container
322312
and 32 bit valid sample size in 32 bit container
323313

324314
config PCM_CONVERTER_FORMAT_S16_C32_AND_S24_C32
325315
bool "Support S16C32 <-> S24C32"
326-
default n
327316
help
328317
Support conversion between 16 bit valid sample size in 32 bit container
329318
and 24 bit valid sample size in 32 bit container
330319

331320
config PCM_CONVERTER_FORMAT_S24_C24_AND_S24_C32
332321
bool "Support S24C24 <-> S24C32"
333-
default n
334322
help
335323
Support conversion between 24 bit valid sample size in 24 bit container
336324
and 24 bit valid sample size in 32 bit container
337325

338326
config PCM_CONVERTER_FORMAT_S24_C32_AND_S24_C24
339327
bool "Support S24C32 <-> S24C24"
340-
default n
341328
help
342329
Support conversion between 24 bit valid sample size in 32 bit container
343330
and 24 bit valid sample size in 24 bit container
344331

345332
config PCM_CONVERTER_FORMAT_S16_C32_AND_S16_C32
346333
bool "Support S16C32 <-> S16C32"
347-
default n
348334
help
349335
Support one-to-one copying conversion for 16 bit valid sample size in
350336
32 bit container
@@ -373,7 +359,6 @@ config TRACE_CHANNEL
373359

374360
config WRAP_ACTUAL_POSITION
375361
bool "Buffer wrapping"
376-
default n
377362
help
378363
This option is to update the actual position information on wrap of buffer.
379364
It is not necessary that on wrap, the buffer position would be zero.At wrap,
@@ -382,20 +367,17 @@ config WRAP_ACTUAL_POSITION
382367

383368
config COMP_MODULE_SHARED_LIBRARY_BUILD
384369
bool "Build SOF modules as shared libraries"
385-
default n
386370
help
387371
Select if you want to build modules as shared objects that can be used to run
388372
pipelines on the host with the testbench or the ALSA plugin.
389373

390374
config DISABLE_DESCRIPTOR_SPLIT
391375
bool "Disable descriptor split"
392-
default n
393376
help
394377
This option disbale the descriptor split for host p-table.
395378

396379
config DAI_VERBOSE_GLITCH_WARNINGS
397380
bool "Enable additional checks and warnings for DAI data flow"
398-
default n
399381
help
400382
Select if you want to enable additional checks and warning logs for
401383
DAI data flow. If DAI copy is called with no data to process,

src/audio/aria/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
config COMP_ARIA
44
tristate "ARIA component"
55
default m if LIBRARY_DEFAULT_MODULAR
6-
default n
76
depends on IPC_MAJOR_4
87
help
98
Select for Automatic Regressive Input Amplifier Module component

src/audio/asrc/Kconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,70 +64,60 @@ menu "Supported downsampling conversions"
6464

6565
config ASRC_SUPPORT_CONVERSION_24000_TO_08000
6666
bool "Downsample 24 kHz to 8 kHz"
67-
default n
6867
help
6968
This option enables downsampling from 24 kHz to 8 kHz into
7069
the build. The consumption of memory is 2.1 kB.
7170

7271
config ASRC_SUPPORT_CONVERSION_24000_TO_16000
7372
bool "Downsample 24 kHz to 16 kHz"
74-
default n
7573
help
7674
This option enables downsampling from 24 kHz to 16 kHz into
7775
the build. The consumption of memory is 1.9 kB.
7876

7977
config ASRC_SUPPORT_CONVERSION_48000_TO_08000
8078
bool "Downsample 48 kHz to 8 kHz"
81-
default n
8279
help
8380
This option enables downsampling from 48 kHz to 8 kHz into
8481
the build. The consumption of memory is 2.1 kB.
8582

8683
config ASRC_SUPPORT_CONVERSION_48000_TO_11025
8784
bool "Downsample 48 kHz to 11.025 kHz"
88-
default n
8985
help
9086
This option enables downsampling from 48 kHz to 11.025 kHz
9187
into the build. The consumption of memory is 1.5 kB.
9288

9389
config ASRC_SUPPORT_CONVERSION_48000_TO_12000
9490
bool "Downsample 48 kHz to 12 kHz"
95-
default n
9691
help
9792
This option enables downsampling from 48 kHz to 12 kHz into
9893
the build. The consumption of memory is 1.5 kB.
9994

10095
config ASRC_SUPPORT_CONVERSION_48000_TO_16000
10196
bool "Downsample 48 kHz to 16 kHz"
102-
default n
10397
help
10498
This option enables downsampling from 48 kHz to 16 kHz into
10599
the build. The consumption of memory is 1.9 kB.
106100

107101
config ASRC_SUPPORT_CONVERSION_48000_TO_22050
108102
bool "Downsample 48 kHz to 22.05 kHz"
109-
default n
110103
help
111104
This option enables downsampling from 48 kHz to 22.05 kHz into
112105
the build. The consumption of memory is 1.6 kB.
113106

114107
config ASRC_SUPPORT_CONVERSION_48000_TO_24000
115108
bool "Downsample 48 kHz to 24 kHz"
116-
default n
117109
help
118110
This option enables downsampling from 48 kHz to 24 kHz into
119111
the build. The consumption of memory is 1.6 kB.
120112

121113
config ASRC_SUPPORT_CONVERSION_48000_TO_32000
122114
bool "Downsample 48 kHz to 32 kHz"
123-
default n
124115
help
125116
This option enables downsampling from 48 kHz to 32 kHz into
126117
the build. The consumption of memory is 1.9 kB.
127118

128119
config ASRC_SUPPORT_CONVERSION_48000_TO_44100
129120
bool "Downsample 48 kHz to 44.1 kHz"
130-
default n
131121
help
132122
This option enables downsampling from 48 kHz to 44.1 kHz
133123
into the build. The consumption of memory is 1.8 kB.

src/audio/codec/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
config DTS_CODEC
44
tristate "DTS codec"
5-
default n
65
select DTS_CODEC_STUB if COMP_STUBS
76
help
87
Select to include DTS codec.
@@ -14,7 +13,6 @@ config DTS_CODEC
1413
config DTS_CODEC_STUB
1514
bool "DTS codec stub"
1615
depends on DTS_CODEC
17-
default n
1816
help
1917
Select to include DTS codec stub library. This is meant for testing and CI
2018
purposes only.

src/audio/crossover/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ config COMP_CROSSOVER
55
select COMP_BLOB
66
select MATH_IIR_DF2T
77
default m if LIBRARY_DEFAULT_MODULAR
8-
default n
98
help
109
Select for Crossover Filter component. A crossover can be used to
1110
split a signal into two or more frequency ranges, so that the outputs

src/audio/drc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config COMP_DRC
1010
select MATH_EXP
1111
select COMP_BLOB
1212
default m if LIBRARY_DEFAULT_MODULAR
13-
default n
1413
help
1514
Select for Dynamic Range Compressor (DRC) component. A DRC can be used
1615
to reduce the volume of loud sounds and amplify silent sounds thus

src/audio/google/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ menu "Google components"
55
config COMP_GOOGLE_HOTWORD_DETECT
66
bool "Google hotword detector component"
77
select COMP_BLOB
8-
default n
98
help
109
Select for Google hotword detector component. It uses the Google
1110
hotword library to do keyword detection. A language model needs to
@@ -15,7 +14,6 @@ config COMP_GOOGLE_HOTWORD_DETECT
1514
config COMP_GOOGLE_RTC_AUDIO_PROCESSING
1615
tristate "Google Real Time Communication Audio processing"
1716
select COMP_BLOB
18-
default n
1917
help
2018
Select for Google real-time communication audio processing. It
2119
uses the Google real-time audio processing library to perform
@@ -88,7 +86,6 @@ config COMP_GOOGLE_CTC_AUDIO_PROCESSING
8886
select COMP_BLOB
8987
select GOOGLE_CTC_AUDIO_PROCESSING_MOCK if COMP_STUBS
9088
select STATIC_INIT_GNU if ZEPHYR_SOF_MODULE
91-
default n
9289
depends on ZEPHYR_SOF_MODULE
9390
help
9491
Select for Google crosstalk cancellation audio processing. It

src/audio/igo_nr/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ config COMP_IGO_NR
44
tristate "IGO NR component"
55
select COMP_BLOB
66
select COMP_IGO_NR_STUB if COMP_STUBS
7-
default n
87
help
98
This option enables Intelligo non-speech noise reduction. The feature links to a proprietary
109
binary libigonr.a that currently is supported on different Xtensa DSP platforms. Please email
@@ -14,7 +13,6 @@ config COMP_IGO_NR_STUB
1413
bool "IGO NR component"
1514
select COMP_BLOB
1615
depends on COMP_IGO_NR
17-
default n
1816
help
1917
This option builds the IGO adapter with a stub library, it should only be used for
2018
testing or CI purposes.

0 commit comments

Comments
 (0)