[PATCH v2 3/5] ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580

2016-11-20 Thread Krzysztof Kozlowski
The I2S sound drivers for SmartQ board and WM8580 codec can be compile
tested to increase build coverage.

Signed-off-by: Krzysztof Kozlowski 
---
 sound/soc/samsung/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index ea0fa9971a0c..426ef1c7b265 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -49,7 +49,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
@@ -109,7 +109,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
 
-- 
2.7.4



[PATCH v2 3/5] ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580

2016-11-20 Thread Krzysztof Kozlowski
The I2S sound drivers for SmartQ board and WM8580 codec can be compile
tested to increase build coverage.

Signed-off-by: Krzysztof Kozlowski 
---
 sound/soc/samsung/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index ea0fa9971a0c..426ef1c7b265 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -49,7 +49,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
@@ -109,7 +109,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
 
-- 
2.7.4