From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Date: Fri, 17 Oct 2014 01:22:02 +0000 (-0700)
Subject: ASoC: Intel: Add new dependency for Haswell machine
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=161aa49ef1b99891b82d3599885eb8d5cbf0ebfc;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ASoC: Intel: Add new dependency for Haswell machine

I2C support for the RT5640 codec is provided through the Designware
I2C platform adapter in this machine. Thus, the driver must be present.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index 774fab988509..2a3af880868b 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -36,7 +36,8 @@ config SND_SOC_INTEL_BAYTRAIL
 
 config SND_SOC_INTEL_HASWELL_MACH
 	tristate "ASoC Audio DSP support for Intel Haswell Lynxpoint"
-	depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && I2C
+	depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && I2C && \\
+		   I2C_DESIGNWARE_PLATFORM
 	select SND_SOC_INTEL_HASWELL
 	select SND_SOC_RT5640
 	help