mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 21:52:21 +00:00

CONFIG_SND_HDA_PREALLOC_SIZE is used only by controller.c in sound/hda/common, hence it depends on CONFIG_SND_HDA. Move the definition to the right place inside SND_HDA if/endif block in sound/hda/common/Kconfig. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250709160434.1859-5-tiwai@suse.de
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config SND_HDA_CORE
|
|
tristate
|
|
select REGMAP
|
|
|
|
config SND_HDA_DSP_LOADER
|
|
bool
|
|
|
|
config SND_HDA_ALIGNED_MMIO
|
|
bool
|
|
|
|
config SND_HDA_COMPONENT
|
|
bool
|
|
|
|
config SND_HDA_I915
|
|
bool
|
|
select SND_HDA_COMPONENT
|
|
|
|
config SND_HDA_EXT_CORE
|
|
tristate
|
|
select SND_HDA_CORE
|
|
|
|
config SND_INTEL_NHLT
|
|
bool
|
|
# this config should be selected only for Intel ACPI platforms.
|
|
# A fallback is provided so that the code compiles in all cases.
|
|
|
|
config SND_INTEL_DSP_CONFIG
|
|
tristate
|
|
select ACPI_NHLT if ACPI
|
|
select SND_INTEL_NHLT if ACPI
|
|
select SND_INTEL_SOUNDWIRE_ACPI if ACPI
|
|
# this config should be selected only for Intel DSP platforms.
|
|
# A fallback is provided so that the code compiles in all cases.
|
|
|
|
config SND_INTEL_SOUNDWIRE_ACPI
|
|
tristate
|
|
|
|
config SND_INTEL_BYT_PREFER_SOF
|
|
bool "Prefer SOF driver over SST on BY/CHT platforms"
|
|
depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
|
|
default n
|
|
help
|
|
The kernel has 2 drivers for the Low Power Engine audio-block on
|
|
Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
|
|
driver. If both drivers are enabled then the kernel will default
|
|
to using the old SST driver, unless told otherwise through the
|
|
snd_intel_dspcfg.dsp_driver module-parameter.
|
|
|
|
Set this option to Y to make the kernel default to the new SOF
|
|
driver instead.
|