ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 20 Nov 2016 19:24:53 +0000 (21:24 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2016 16:49:01 +0000 (16:49 +0000)
The I2S sound drivers for SmartQ board and WM8580 codec can 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 48dcd3dd9ec7d3373007a60ed00bbc50f9d9f470..a6cc6ca93fa7ccd350ce50f6baae95a40bb2b9f4 100644 (file)
@@ -50,7 +50,7 @@ config SND_SOC_SAMSUNG_JIVE_WM8750
 
 config SND_SOC_SAMSUNG_SMDK_WM8580
        tristate "SoC I2S Audio support for WM8580 on SMDK"
-       depends on MACH_SMDK6410
+       depends on MACH_SMDK6410 || COMPILE_TEST
        depends on I2C
        select SND_SOC_WM8580
        select SND_SAMSUNG_I2S
@@ -110,7 +110,8 @@ config SND_SOC_SAMSUNG_RX1950_UDA1380
 
 config SND_SOC_SMARTQ
        tristate "SoC I2S Audio support for SmartQ board"
-       depends on MACH_SMARTQ && I2C
+       depends on MACH_SMARTQ || COMPILE_TEST
+       depends on I2C
        select SND_SAMSUNG_I2S
        select SND_SOC_WM8750