]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: Remove depends on HAS_DMA in case of platform dependency
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 17 Apr 2018 17:49:01 +0000 (19:49 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 18 Apr 2018 10:17:09 +0000 (11:17 +0100)
commit221dd96c30a7c65b24ead7fdd7645abb99506ce2
tree07240bc608c36394383861cdbf441749b7e179ea
parent5db6aab6f36f7560dc95f7ca340d5632b7a3be6a
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>
sound/soc/bcm/Kconfig
sound/soc/kirkwood/Kconfig
sound/soc/pxa/Kconfig
sound/soc/qcom/Kconfig