diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-04-17 19:49:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-18 11:17:09 +0100 |
commit | 221dd96c30a7c65b24ead7fdd7645abb99506ce2 (patch) | |
tree | 07240bc608c36394383861cdbf441749b7e179ea /sound/soc/bcm | |
parent | 5db6aab6f36f7560dc95f7ca340d5632b7a3be6a (diff) | |
download | linux-221dd96c30a7c65b24ead7fdd7645abb99506ce2.tar.bz2 |
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>
Diffstat (limited to 'sound/soc/bcm')
-rw-r--r-- | sound/soc/bcm/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig index edf367100ebd..02f50b7a966f 100644 --- a/sound/soc/bcm/Kconfig +++ b/sound/soc/bcm/Kconfig @@ -11,9 +11,8 @@ config SND_BCM2835_SOC_I2S config SND_SOC_CYGNUS tristate "SoC platform audio for Broadcom Cygnus chips" depends on ARCH_BCM_CYGNUS || COMPILE_TEST - depends on HAS_DMA help Say Y if you want to add support for ASoC audio on Broadcom Cygnus chips (bcm958300, bcm958305, bcm911360) - If you don't know what to do here, say N.
\ No newline at end of file + If you don't know what to do here, say N. |