linux-stable/sound/soc/amd/acp
Arnd Bergmann 1dcc81d95b
ASoC: amd: acp: fix Kconfig dependencies
The CONFIG_SND_SOC_AMD_MACH_COMMON has some dependencies that
are not checked by the symbols that select it:

WARNING: unmet direct dependencies detected for SND_SOC_AMD_MACH_COMMON
  Depends on [n]: SOUND [=y] && !UML && SND [=m] && SND_SOC [=m] && X86 && PCI [=y] && I2C [=n]
  Selected by [m]:
  - SND_SOC_AMD_LEGACY_MACH [=m] && SOUND [=y] && !UML && SND [=m] && SND_SOC [=m]
  - SND_SOC_AMD_SOF_MACH [=m] && SOUND [=y] && !UML && SND [=m] && SND_SOC [=m]

WARNING: unmet direct dependencies detected for SND_SOC_AMD_MACH_COMMON
  Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && X86 && PCI [=n] && I2C [=m]
  Selected by [m]:
  - SND_SOC_AMD_LEGACY_MACH [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m]

Make this more consistent by adding the same checks everywhere.

Fixes: 9d8a7be88b ("ASoC: amd: acp: Add legacy sound card support for Chrome audio")
Fixes: 9f84940f50 ("ASoC: amd: acp: Add SOF audio support on Chrome board")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211027082359.52248-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-10-27 15:59:14 +01:00
..
acp-i2s.c
acp-legacy-mach.c ASoC: amd: acp: Add legacy sound card support for Chrome audio 2021-10-20 11:12:54 +01:00
acp-mach-common.c ASoC: amd: acp: Add support for RT5682-VS codec 2021-10-20 11:12:57 +01:00
acp-mach.h ASoC: amd: acp: Add support for RT5682-VS codec 2021-10-20 11:12:57 +01:00
acp-platform.c ASoC: amd: acp: Fix return value check in acp_machine_select() 2021-10-27 11:31:24 +01:00
acp-renoir.c ASoC: amd: acp: Add acp_machine struct for renoir platform. 2021-10-25 12:36:13 +01:00
acp-sof-mach.c ASoC: amd: acp: Add support for RT5682-VS codec 2021-10-20 11:12:57 +01:00
amd.h ASoC: amd: acp: Add acp_machine struct for renoir platform. 2021-10-25 12:36:13 +01:00
chip_offset_byte.h
Kconfig ASoC: amd: acp: fix Kconfig dependencies 2021-10-27 15:59:14 +01:00
Makefile ASoC: amd: acp: Add SOF audio support on Chrome board 2021-10-20 11:12:55 +01:00