Skip to contentSkip to conversation

ASoC: Intel: Add missing build dependencies

PATCH Applied Ricardo Neri 2 participants 4 messages Oct 17, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ASoC: Intel: Add missing build dependencies

The Broadwell and Haswell machines utilize the RT286 and RT5640 codecs, respectively. To communicate with the codecs, the machine utilizes the Designware I2C platform adapter. Hence, such adapter should be present in order to probe the codec drivers correctly. This short patch series fixes the missing dependency.

Thanks and BR,
Ricardo

Ricardo Neri (2):
ASoC: Intel: Add new dependency for Broadwell machine
ASoC: Intel: Add new dependency for Haswell machine

 sound/soc/intel/Kconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 ASoC: Intel: Add new dependency for Broadwell machine

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

---
 sound/soc/intel/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/intel/Kconfig +2 -1
index f5b4a9c7..83d5ed1 100644
@@ -61,7 +61,8 @@ config SND_SOC_INTEL_BYT_MAX98090_MACH
 
 config SND_SOC_INTEL_BROADWELL_MACH
 	tristate "ASoC Audio DSP support for Intel Broadwell Wildcatpoint"
-	depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && DW_DMAC
+	depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS && DW_DMAC && \\
+		   I2C_DESIGNWARE_PLATFORM
 	select SND_SOC_INTEL_HASWELL
 	select SND_COMPRESS_OFFLOAD
 	select SND_SOC_RT286
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 ASoC: Intel: Add new dependency for Haswell machine

In reply to Ricardo Neri

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

---
 sound/soc/intel/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/intel/Kconfig +2 -1
index 83d5ed1..ac03e69 100644
@@ -32,7 +32,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
Signature · 1 line
1.9.1
maintainer Applied
#3 lore raw
In reply to Ricardo Neri
Quoted 5 lines · Ricardo Neri

The Broadwell and Haswell machines utilize the RT286 and RT5640 codecs, respectively. To communicate with the codecs, the machine utilizes the Designware I2C platform adapter. Hence, such adapter should be present in order to probe the codec drivers correctly. This short patch series fixes the missing dependency.

Applied both, thanks.