From: Arnd Bergmann <arnd@arndb.de>
Date: Tue, 29 Apr 2014 11:18:29 +0000 (+0800)
Subject: ASoC: pxa: TTC DKB audio needs I2C
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=482b91c7f1ca3442f5cd57525e82d8e7b2dff8c8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ASoC: pxa: TTC DKB audio needs I2C

The missing dependency can lead to build errors, so
make it explicit in Kconfig.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
---

diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig
index 6473052b6899..6acb225ec6fd 100644
--- a/sound/soc/pxa/Kconfig
+++ b/sound/soc/pxa/Kconfig
@@ -140,7 +140,7 @@ config SND_PXA910_SOC
 
 config SND_SOC_TTC_DKB
 	bool "SoC Audio support for TTC DKB"
-	depends on SND_PXA910_SOC && MACH_TTC_DKB
+	depends on SND_PXA910_SOC && MACH_TTC_DKB && I2C=y
 	select PXA_SSP
 	select SND_PXA_SOC_SSP
 	select SND_MMP_SOC