ALSA: hda: move Intel SoundWire ACPI scan to dedicated module
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>
Showing
- drivers/soundwire/intel.h 0 additions, 2 deletionsdrivers/soundwire/intel.h
- drivers/soundwire/intel_init.c 0 additions, 158 deletionsdrivers/soundwire/intel_init.c
- include/linux/soundwire/sdw_intel.h 2 additions, 0 deletionsinclude/linux/soundwire/sdw_intel.h
- sound/hda/Kconfig 4 additions, 0 deletionssound/hda/Kconfig
- sound/hda/Makefile 3 additions, 0 deletionssound/hda/Makefile
- sound/hda/intel-dsp-config.c 1 addition, 1 deletionsound/hda/intel-dsp-config.c
- sound/hda/intel-sdw-acpi.c 174 additions, 0 deletionssound/hda/intel-sdw-acpi.c
- sound/soc/sof/intel/Kconfig 1 addition, 0 deletionssound/soc/sof/intel/Kconfig
- sound/soc/sof/intel/hda.c 1 addition, 0 deletionssound/soc/sof/intel/hda.c
Loading
Please register or sign in to comment