mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
The ACPI scan capabilities is called from the intel-dspconfig as well as the SOF/HDaudio drivers. This creates dependencies and randconfig issues when HDaudio and SOF/SoundWire are not all configured as modules. To simplify Kconfig dependencies between HDAudio, SoundWire, SOF and intel-dspconfig, move the ACPI scan helpers to a dedicated module. This follows the same idea as NHLT helpers which are already handled as a dedicated module. The only functional change is that the kernel parameter to filter links is now handled by a different module, but that was only provided for developers needing work-arounds for early BIOS releases. Reported-by: Arnd Bergmann <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Bard Liao <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Vinod Koul <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
23 lines
749 B
Makefile
23 lines
749 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
|
|
hdac_regmap.o hdac_controller.o hdac_stream.o array.o hdmi_chmap.o
|
|
|
|
snd-hda-core-objs += trace.o
|
|
CFLAGS_trace.o := -I$(src)
|
|
|
|
# for sync with i915 gfx driver
|
|
snd-hda-core-$(CONFIG_SND_HDA_COMPONENT) += hdac_component.o
|
|
snd-hda-core-$(CONFIG_SND_HDA_I915) += hdac_i915.o
|
|
|
|
obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o
|
|
|
|
#extended hda
|
|
obj-$(CONFIG_SND_HDA_EXT_CORE) += ext/
|
|
|
|
snd-intel-dspcfg-objs := intel-dsp-config.o
|
|
snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o
|
|
obj-$(CONFIG_SND_INTEL_DSP_CONFIG) += snd-intel-dspcfg.o
|
|
|
|
snd-intel-sdw-acpi-objs := intel-sdw-acpi.o
|
|
obj-$(CONFIG_SND_INTEL_SOUNDWIRE_ACPI) += snd-intel-sdw-acpi.o
|