From: Ricardo Neri Date: Fri, 18 May 2012 06:42:37 +0000 (-0500) Subject: ASoC: OMAP: HDMI: Use the DSS audio interface X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a48d9b75869604580e0aeb077d93e8eac9636c4a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ASoC: OMAP: HDMI: Use the DSS audio interface Instead of accessing the HDMI IP directly, the CPU DAI driver takes advantage of the audio interface provided by the DSS device driver. The ASoC driver will link the DSS audio functionality with ALSA by calling the appropriate DSS device driver functions at the relevant moments. For this, three new DAI operations are added: trigger, prepare and shutdown operations. At the moment, it is assumed that only one HDMI display is available in the system, as it is the case in OMAP4. However, in the future, one DAI for each HDMI display should be provided. Signed-off-by: Ricardo Neri Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig index 9ccfa5e1c11b..13afb2c68dcd 100644 --- a/sound/soc/omap/Kconfig +++ b/sound/soc/omap/Kconfig @@ -114,6 +114,7 @@ config SND_OMAP_SOC_OMAP4_HDMI depends on SND_OMAP_SOC && OMAP4_DSS_HDMI && OMAP2_DSS && ARCH_OMAP4 select SND_OMAP_SOC_HDMI select SND_SOC_OMAP_HDMI_CODEC + select OMAP4_DSS_HDMI_AUDIO help Say Y if you want to add support for SoC HDMI audio on Texas Instruments OMAP4 chips diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index a6656b2a7353..ff6132a9b7e8 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c @@ -30,6 +30,7 @@ #include #include #include +#include