summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2012-10-09 10:17:14 -0500
committerAndy Green <andy.green@linaro.org>2012-11-27 11:42:53 +0800
commit1f1c941e2f6cd16b139291b00646286277c0b0a1 (patch)
treed9147aff8a027684e1cfbe7b515b68a9d9b2401d
parentc5a1a7119fe0bb0dba46c2f4fa3253c428d94b24 (diff)
ARM: OMAP4+: Remove creation of device for ASoC HDMI driver
This is to allow the OMAPDSS HDMI driver to handle the creation of accesory devices, such as the HDMI audio device. Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
-rw-r--r--arch/arm/mach-omap2/devices.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index d36e0e8dee9..56f3948f954 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -393,20 +393,6 @@ static struct platform_device omap_hdmi_audio = {
static void __init omap_init_hdmi_audio(void)
{
- struct omap_hwmod *oh;
- struct platform_device *pdev;
-
- oh = omap_hwmod_lookup("dss_hdmi");
- if (!oh) {
- printk(KERN_ERR "Could not look up dss_hdmi hw_mod\n");
- return;
- }
-
- pdev = omap_device_build("omap-hdmi-audio-dai",
- -1, oh, NULL, 0, NULL, 0, 0);
- WARN(IS_ERR(pdev),
- "Can't build omap_device for omap-hdmi-audio-dai.\n");
-
platform_device_register(&omap_hdmi_audio);
}
#else