linux/sound/soc/amd
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 ASoC: amd: acp: fix Kconfig dependencies 2021-10-27 15:59:14 +01:00
include
raven Merge some cs42l42 patches into asoc-5.15 2021-08-06 01:46:24 +01:00
renoir Merge some cs42l42 patches into asoc-5.15 2021-08-06 01:46:24 +01:00
vangogh ASoC: amd: enable vangogh platform machine driver build 2021-10-15 16:10:55 +01:00
yc ASoC: amd: enable Yellow Carp platform machine driver build 2021-10-18 21:11:47 +01:00
acp3x-rt5682-max9836.c ASoC: amd: Use dev_probe_err helper 2021-07-23 14:52:50 +01:00
acp-da7219-max98357a.c ASoC: amd: acp: declare and add prefix to 'bt_uart_enable' symbol 2021-09-13 01:59:03 +01:00
acp-pcm-dma.c ASoC: amd: acp: declare and add prefix to 'bt_uart_enable' symbol 2021-09-13 01:59:03 +01:00
acp-rt5645.c ASoC: amd: acp-rt5645: Constify static snd_soc_ops 2021-10-05 13:09:58 +01:00
acp.h ASoC: amd: acp: declare and add prefix to 'bt_uart_enable' symbol 2021-09-13 01:59:03 +01:00
Kconfig Merge series "ASoC: Add common modules support for ACP hw block" from Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>: 2021-10-23 17:30:02 +01:00
Makefile Merge series "ASoC: Add common modules support for ACP hw block" from Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>: 2021-10-23 17:30:02 +01:00