OpenCloudOS-Kernel/sound/soc/kirkwood
Geert Uytterhoeven 221dd96c30
ASoC: Remove depends on HAS_DMA in case of platform dependency
Remove dependencies on HAS_DMA where a Kconfig symbol depends on another
symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST".
In most cases this other symbol is an architecture or platform specific
symbol, or PCI.

Generic symbols and drivers without platform dependencies keep their
dependencies on HAS_DMA, to prevent compiling subsystems or drivers that
cannot work anyway.

This simplifies the dependencies, and allows to improve compile-testing.

Note:
  - The various SND_SOC_LPASS_* symbols had to loose their dependencies
    on HAS_DMA, as they are selected by SND_SOC_STORM and/or
    SND_SOC_APQ8016_SBC.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-04-18 11:17:09 +01:00
..
Kconfig ASoC: Remove depends on HAS_DMA in case of platform dependency 2018-04-18 11:17:09 +01:00
Makefile ASoC: kirkwood: Remove unused drivers 2014-07-29 20:34:37 +01:00
armada-370-db.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
kirkwood-dma.c ASoC: kirkwood: replace platform to component 2018-02-12 11:45:28 +00:00
kirkwood-i2s.c ASoC: kirkwood: replace platform to component 2018-02-12 11:45:28 +00:00
kirkwood.h ASoC: kirkwood: replace platform to component 2018-02-12 11:45:28 +00:00