aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2011-03-09 05:10:02 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-16 02:15:50 -0400
commitadbc2feee11aef2b3b0f4eff427d2ea5c211e798 (patch)
tree1b56c61b7a646f9234cca147d97429dde45687ba /drivers
parent642e21bff200610b1d4c0e706d0a6b16ae4e25db (diff)
OMAP4: DSS: HDMI: Call to HDMI module init to register driver.
calling the platform registration of HDMI driver from core during initialization. Signed-off-by: Mythri P K <mythripk@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/omap2/dss/core.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c
index c2f930bf2844..1aa2ed1e786e 100644
--- a/drivers/video/omap2/dss/core.c
+++ b/drivers/video/omap2/dss/core.c
@@ -209,6 +209,12 @@ static int omap_dss_probe(struct platform_device *pdev)
209 goto err_dsi; 209 goto err_dsi;
210 } 210 }
211 211
212 r = hdmi_init_platform_driver();
213 if (r) {
214 DSSERR("Failed to initialize hdmi\n");
215 goto err_hdmi;
216 }
217
212 r = dss_initialize_debugfs(); 218 r = dss_initialize_debugfs();
213 if (r) 219 if (r)
214 goto err_debugfs; 220 goto err_debugfs;
@@ -238,6 +244,8 @@ static int omap_dss_probe(struct platform_device *pdev)
238err_register: 244err_register:
239 dss_uninitialize_debugfs(); 245 dss_uninitialize_debugfs();
240err_debugfs: 246err_debugfs:
247 hdmi_uninit_platform_driver();
248err_hdmi:
241 dsi_uninit_platform_driver(); 249 dsi_uninit_platform_driver();
242err_dsi: 250err_dsi:
243 venc_uninit_platform_driver(); 251 venc_uninit_platform_driver();
@@ -263,6 +271,7 @@ static int omap_dss_remove(struct platform_device *pdev)
263 dispc_uninit_platform_driver(); 271 dispc_uninit_platform_driver();
264 rfbi_uninit_platform_driver(); 272 rfbi_uninit_platform_driver();
265 dsi_uninit_platform_driver(); 273 dsi_uninit_platform_driver();
274 hdmi_uninit_platform_driver();
266 dss_uninit_platform_driver(); 275 dss_uninit_platform_driver();
267 276
268 dss_uninit_overlays(pdev); 277 dss_uninit_overlays(pdev);