linux-stable/sound/soc
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
..
adi
amd ASoC: amd: acp: fix Kconfig dependencies 2021-10-27 15:59:14 +01:00
atmel ASoC: atmel: Convert to new style DAI format definitions 2021-09-16 14:11:30 +01:00
au1x ASoC: au1x: Convert to modern terminology for DAI clocking 2021-09-16 14:11:37 +01:00
bcm ASoC: bcm: Convert to modern clocking terminology 2021-09-27 13:01:09 +01:00
cirrus ASoC: ep93xx: Convert to modern clocking terminology 2021-09-27 13:00:54 +01:00
codecs Merge series "Make genaral and simple for new sof machine driver" from David Lin <CTLIN0@nuvoton.com>: 2021-10-27 15:57:29 +01:00
dwc ASoC: dwc-i2s: Update to modern clocking terminology 2021-09-27 13:01:12 +01:00
fsl Merge branch 'asoc-5.15' into asoc-5.16 2021-10-18 21:15:13 +01:00
generic ASoC: soc-component: add snd_soc_component_is_codec() 2021-10-18 13:56:37 +01:00
hisilicon
img
intel ASoC: Intel: soc-acpi: add entry for ESSX8336 on JSL 2021-10-27 11:31:25 +01:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8195: fix return value 2021-10-27 11:31:15 +01:00
meson ASoC: meson: axg-tdm-interface: manage formatters in trigger 2021-10-22 13:25:48 +01:00
mxs
pxa
qcom ASoC: qdsp6: audioreach: add support for q6prm-clocks 2021-10-26 13:50:12 +01:00
rockchip ASoC: rockchip: i2s_tdm: improve return value handling 2021-10-27 11:31:16 +01:00
samsung ASoC: samsung: add missing "fallthrough;" 2021-09-27 13:00:53 +01:00
sh
sof Linux 5.15-rc6 2021-10-18 13:50:42 +01:00
spear
sprd
sti
stm
sunxi
tegra ASoC: tegra: Set default card name for Trimslice 2021-10-25 12:36:17 +01:00
ti ASoC: ti: Constify static snd_soc_ops 2021-09-29 13:06:37 +01:00
uniphier
ux500 ASoC: ux500: mop500: Constify static snd_soc_ops 2021-09-29 13:06:38 +01:00
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: improve error reporting for register access 2021-10-15 16:10:57 +01:00
soc-compress.c ASoC: compress/component: Use module_get_when_open/put_when_close for cstream 2021-09-20 13:30:18 +01:00
soc-core.c Merge branch 'asoc-5.15' into asoc-5.16 2021-10-18 21:15:13 +01:00
soc-dai.c
soc-dapm.c Merge branch 'asoc-5.15' into asoc-5.16 2021-10-18 21:15:13 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: Introduce module option prealloc_buffer_size_kbytes 2021-09-27 13:01:13 +01:00
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: tidyup soc_pcm_hw_clean() - step2 2021-10-18 13:56:36 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: handle endianness warning 2021-10-27 11:31:09 +01:00
soc-utils.c