linux/sound/soc/amd/acp
Arnd Bergmann 69f8336e29
ASoC: SOF: amd: fix SND_AMD_SOUNDWIRE_ACPI dependencies
The snd-amd-sdw-acpi.ko module is under CONFIG_SND_SOC_AMD_ACP_COMMON but
selected from SoF, which causes build failures in some randconfig builds
that enable SOF but not ACP:

WARNING: unmet direct dependencies detected for SND_AMD_SOUNDWIRE_ACPI
  Depends on [n]: SOUND [=m] && SND [=m] && SND_SOC [=m] && SND_SOC_AMD_ACP_COMMON [=n] && ACPI [=y]
  Selected by [m]:
  - SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE [=m] && SOUND [=m] && SND [=m] && SND_SOC [=m] && SND_SOC_SOF_TOPLEVEL [=y] && SND_SOC_SOF_AMD_TOPLEVEL [=m] && ACPI [=y]
ERROR: modpost: "amd_sdw_scan_controller" [sound/soc/sof/amd/snd-sof-amd-acp.ko] undefined!

Change the Makefile and Kconfig to allow it to get built regardless
of CONFIG_SND_SOC_AMD_ACP_COMMON.

Fixes: d948218424 ("ASoC: SOF: amd: add code for invoking soundwire manager helper functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240204212207.3158914-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-02-05 14:32:28 +00:00
..
acp3x-es83xx ASoC: amd: acp: Remove redundant ret variable 2023-12-18 17:24:14 +00:00
acp63.c ASoC: amd: acp: remove unnecessary NULL check 2023-11-13 01:26:16 +00:00
acp70.c ASoC: amd: acp: correct the format order 2023-11-13 01:26:10 +00:00
acp-i2s.c ASoC: amd: acp: fix for i2s mode register field update 2023-10-31 14:26:11 +00:00
acp-legacy-common.c ASoC: amd: acp: Add pci legacy driver support for acp7.0 platform 2023-10-25 17:21:54 +01:00
acp-legacy-mach.c ASoC: amd: acp: add machine driver support for pdm use case 2023-10-25 17:21:51 +01:00
acp-mach-common.c ASoC: Merge up fixes 2024-01-22 19:36:54 +00:00
acp-mach.h ASoC: amd: acp: Add new cpu dai and dailink creation for I2S BT instance 2023-12-06 19:10:03 +00:00
acp-pci.c ASoC: amd: acp: Add pci legacy driver support for acp7.0 platform 2023-10-25 17:21:54 +01:00
acp-pdm.c ASoC: amd: acp: move pdm macros to common header file 2023-07-09 22:47:40 +01:00
acp-platform.c ASoC: amd: acp: add machine driver support for pdm use case 2023-10-25 17:21:51 +01:00
acp-rembrandt.c ASoC: amd: acp: add condition check for i2s clock generation 2023-10-25 17:21:50 +01:00
acp-renoir.c ASoC: amd: acp: add pm ops support for renoir platform. 2023-12-15 20:52:26 +00:00
acp-sof-mach.c ASoC: Merge up fixes 2024-01-22 19:36:54 +00:00
amd-sdw-acpi.c ASoC/soundwire: implement generic api for scanning amd soundwire controller 2024-01-30 16:06:32 +00:00
amd.h ASoC: amd: acp: Add pci legacy driver support for acp7.0 platform 2023-10-25 17:21:54 +01:00
chip_offset_byte.h ASoC: amd: acp: add code for scanning acp pdm controller 2023-10-25 17:21:48 +01:00
Kconfig ASoC: SOF: amd: fix SND_AMD_SOUNDWIRE_ACPI dependencies 2024-02-05 14:32:28 +00:00
Makefile ASoC/soundwire: implement generic api for scanning amd soundwire controller 2024-01-30 16:06:32 +00:00