Skip to contentSkip to conversation

ASoC: OMAP4: HDMI: Make stricter dependency on OMAP2_DSS

PATCH Applied Ricardo Neri 3 participants 3 messages Jul 11, 2011

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

PATCH 1/1 ASoC: OMAP4: HDMI: Make stricter dependency on OMAP2_DSS

When building DSS HDMI driver with audio support, there is dependency on SND_SOC to register the ASoC audio codec. Also, SND_OMAP_SOC_OMAP4_HDMI has dependency on OMAP2_DSS. Then, to avoid build breakages, SND_OMAP_SOC_OMAP4_HDMI, is restricted to be available only when OMAP2_DSS AND SND_SOC have the same build type.

Also, dependency on ARCH_OMAP4 is removed, as it is checked indirectly by OMAP4_DSS_HDMI.

---
 sound/soc/omap/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/Kconfig +1 -1
index e8ca5be..ffbd83f 100644
@@ -113,7 +113,7 @@ config SND_OMAP_SOC_SDP4430
 
 config SND_OMAP_SOC_OMAP4_HDMI
 	tristate "SoC Audio support for Texas Instruments OMAP4 HDMI"
-	depends on SND_OMAP_SOC && OMAP4_DSS_HDMI && OMAP2_DSS && ARCH_OMAP4
+	depends on SND_OMAP_SOC && OMAP4_DSS_HDMI && (OMAP2_DSS = SND_SOC)
 	select SND_OMAP_SOC_HDMI
 	help
 	  Say Y if you want to add support for SoC HDMI audio on Texas Instruments
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Ricardo Neri

When building DSS HDMI driver with audio support, there is dependency on SND_SOC to register the ASoC audio codec. Also, SND_OMAP_SOC_OMAP4_HDMI has dependency on OMAP2_DSS. Then, to avoid build breakages, SND_OMAP_SOC_OMAP4_HDMI, is restricted to be available only when OMAP2_DSS AND SND_SOC have the same build type.

#2 lore raw
In reply to Ricardo Neri
Quoted 6 lines · Ricardo Neri

When building DSS HDMI driver with audio support, there is dependency on SND_SOC to register the ASoC audio codec. Also, SND_OMAP_SOC_OMAP4_HDMI has dependency on OMAP2_DSS. Then, to avoid build breakages, SND_OMAP_SOC_OMAP4_HDMI, is restricted to be available only when OMAP2_DSS AND SND_SOC have the same build type.

Quoted 6 lines

Also, dependency on ARCH_OMAP4 is removed, as it is checked indirectly by OMAP4_DSS_HDMI.

---

Applied