]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: samsung: Enable COMPILE_TEST for entire Samsung ASoc
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 20 Nov 2016 19:24:54 +0000 (21:24 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2016 16:48:46 +0000 (16:48 +0000)
Instead of build time, Samsung ASoC drivers have rather runtime
dependency on Exynos or other Samsung platforms.  For building they
require Common Clock Framework.  If it is provided they could be compile
tested to increase build coverage.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/Kconfig

index ea0fa9971a0cd80b2737022a5e711c06f5c20252..48dcd3dd9ec7d3373007a60ed00bbc50f9d9f470 100644 (file)
@@ -1,6 +1,7 @@
 menuconfig SND_SOC_SAMSUNG
        tristate "ASoC support for Samsung"
-       depends on (PLAT_SAMSUNG || ARCH_EXYNOS)
+       depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
+       depends on COMMON_CLK
        select SND_SOC_GENERIC_DMAENGINE_PCM
        ---help---
          Say Y or M if you want to add support for codecs attached to