summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2016-12-09 13:13:26 -0500
committerMark Brown <broonie@kernel.org>2016-12-15 06:42:15 -0500
commit0223f500aa39a2b6df00af212da736232705be3e (patch)
tree26a5c12264c7ab2d946238cea6044eab70be29fc
parent5d079fdc12ffe1f939890035f5172374b5c0f2be (diff)
ASoC: samsung: add GPIOLIB dependency
Both SND_SOC_SMARTQ and SND_SOC_SAMSUNG_TM2_WM5110 use gpio/consumer.h This patch adds GPIOLIB || COMPILE_TEST to Kconfig entries to fix runtime dependency. See commit 638f958baeaf ("extcon: Allow compile test of GPIO consumers if !GPIOLIB") for similar problem and explanations. Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Reported-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/samsung/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index 7c423151ef7d..f1f1d7959a1b 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -111,6 +111,7 @@ config SND_SOC_SAMSUNG_RX1950_UDA1380
111config SND_SOC_SMARTQ 111config SND_SOC_SMARTQ
112 tristate "SoC I2S Audio support for SmartQ board" 112 tristate "SoC I2S Audio support for SmartQ board"
113 depends on MACH_SMARTQ || COMPILE_TEST 113 depends on MACH_SMARTQ || COMPILE_TEST
114 depends on GPIOLIB || COMPILE_TEST
114 depends on I2C 115 depends on I2C
115 select SND_SAMSUNG_I2S 116 select SND_SAMSUNG_I2S
116 select SND_SOC_WM8750 117 select SND_SOC_WM8750
@@ -193,6 +194,7 @@ config SND_SOC_ARNDALE_RT5631_ALC5631
193config SND_SOC_SAMSUNG_TM2_WM5110 194config SND_SOC_SAMSUNG_TM2_WM5110
194 tristate "SoC I2S Audio support for WM5110 on TM2 board" 195 tristate "SoC I2S Audio support for WM5110 on TM2 board"
195 depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER 196 depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER
197 depends on GPIOLIB || COMPILE_TEST
196 select SND_SOC_MAX98504 198 select SND_SOC_MAX98504
197 select SND_SOC_WM5110 199 select SND_SOC_WM5110
198 select SND_SAMSUNG_I2S 200 select SND_SAMSUNG_I2S