mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
08c2a4bc9f
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 <arnd@arndb.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Bard Liao <bard.liao@intel.com> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210302003125.1178419-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
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
|