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/kirkwood/Kconfig | |
parent | 5db6aab6f36f7560dc95f7ca340d5632b7a3be6a (diff) | |
download | lwn-221dd96c30a7c65b24ead7fdd7645abb99506ce2.tar.gz lwn-221dd96c30a7c65b24ead7fdd7645abb99506ce2.zip |
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/kirkwood/Kconfig')
-rw-r--r-- | sound/soc/kirkwood/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/kirkwood/Kconfig b/sound/soc/kirkwood/Kconfig index bc3c7b5ac752..132bb83f8e99 100644 --- a/sound/soc/kirkwood/Kconfig +++ b/sound/soc/kirkwood/Kconfig @@ -1,7 +1,6 @@ config SND_KIRKWOOD_SOC tristate "SoC Audio for the Marvell Kirkwood and Dove chips" depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST - depends on HAS_DMA help Say Y or M if you want to add support for codecs attached to the Kirkwood I2S interface. You will also need to select the |