ASoC: OMAP4: HDMI: Make stricter dependency on OMAP2_DSS
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
@@ -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
Quoted 5 lines · Ricardo Neri
When building DSS HDMI driver with audio support, there is dependency on
SND_SOCto register the ASoC audio codec. Also,SND_OMAP_SOC_OMAP4_HDMIhas dependency onOMAP2_DSS. Then, to avoid build breakages,SND_OMAP_SOC_OMAP4_HDMI, is restricted to be available only whenOMAP2_DSSANDSND_SOChave the same build type.
Liam Girdwood
AppliedQuoted 6 lines · Ricardo Neri
When building DSS HDMI driver with audio support, there is dependency on
SND_SOCto register the ASoC audio codec. Also,SND_OMAP_SOC_OMAP4_HDMIhas dependency onOMAP2_DSS. Then, to avoid build breakages,SND_OMAP_SOC_OMAP4_HDMI, is restricted to be available only whenOMAP2_DSSANDSND_SOChave the same build type.
Quoted 6 lines
Also, dependency on
ARCH_OMAP4is removed, as it is checked indirectly byOMAP4_DSS_HDMI.Reported-by Liam Girdwood <[email protected]>Signed-off-by Ricardo Neri <[email protected]>---
Applied