OpenCloudOS-Kernel/sound/soc/bcm
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: cygnus: Add Cygnus audio DMA driver 2016-05-31 17:50:42 +01:00
bcm2835-i2s.c ASoC: bcm2835: fix hw_params error when device is in prepared state 2018-01-18 11:21:17 +00:00
cygnus-pcm.c ASoC: bcm: cygnus: replace platform to component 2018-02-12 11:45:12 +00:00
cygnus-ssp.c ASoC: cygnus: remove redundant assignment to pointer 'res' 2018-03-08 15:11:24 +00:00
cygnus-ssp.h ASoC: cygnus: Add Cygnus audio DAI driver 2016-05-31 17:50:42 +01:00