]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: acp: SND_SOC_AMD_{LEGACY_MACH,SOF_MACH} should depend on X86 && PCI &...
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 26 Oct 2021 15:11:22 +0000 (17:11 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 Oct 2021 16:32:03 +0000 (17:32 +0100)
commit03d0bc4ed63f30978d52457eac3b015e51d05539
tree30c2f78c51ecb2a852742e7565b2fd4c9aae7657
parent507f902bc699fd1d7157de193d49be4cbbf829f5
ASoC: amd: acp: SND_SOC_AMD_{LEGACY_MACH,SOF_MACH} should depend on X86 && PCI && I2C

If not all of CONFIG_X86, CONFIG_PCI, and CONFIG_I2C are set:

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

As SND_SOC_AMD_MACH_COMMON depends on X86 && PCI && I2C, all symbols
selecting it should depend on X86 && PCI && I2C, too.

Fixes: 6d5f207b808924bc ("ASoC: amd: acp: Add legacy sound card support for Chrome audio")
Fixes: 2b23b77d4b0063db ("ASoC: amd: acp: Add SOF audio support on Chrome board")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/dfb03bd33117e26f3f04ce227bb28095109b3d80.1635260849.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/Kconfig