ASoC: Intel: fix Kconfig dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:07:04 +0000 (12:07 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 2 Nov 2017 11:20:24 +0000 (11:20 +0000)
commitf7a88db6fffdd193d792de5dae7890528b995cc0
tree24920df3c8a8c31e356cf806313a7619e0d7dbf5
parente78407fb7ed38fded024def7a76e4c91bc814080
ASoC: Intel: fix Kconfig dependencies

I ran into multiple problems during randconfig builds of the
recently changed Kconfig logic for Intel ASoC drivers:

- Building without DMADEVICES doesn't work in general
- With that dependency added, we can relax the 'depends
  on X86' again and allow compile-testing, except for
  SND_SST_ATOM_HIFI2_PLATFORM, which depends on X86
  for asm/platform_sst_audio.h
- Skylake requires SND_SOC_INTEL_SST_ACPI, so we
  have to depend on ACPI in turn
- Haswell needs SND_DMA_SGBUF for snd_sgbuf_aligned_pages()

With the new set of dependencies, I no longer get any build
failures.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig