From: Mythri P K <mythripk@ti.com>
To: linux-omap@vger.kernel.org, tomi.valkeinen@ti.com
Cc: Mythri P K <mythripk@ti.com>
Subject: [PATCH v3 7/9] OMAP4 : DSS : HDMI: Call to HDMI module init to register driver.
Date: Fri, 4 Mar 2011 13:18:25 +0530 [thread overview]
Message-ID: <1299224907-11354-8-git-send-email-mythripk@ti.com> (raw)
In-Reply-To: <1299224907-11354-1-git-send-email-mythripk@ti.com>
calling the platform registration of HDMI driver from core during initialization.
Signed-off-by: Mythri P K <mythripk@ti.com>
---
drivers/video/omap2/dss/core.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c
index 3c4ad3a..e08bfef 100644
--- a/drivers/video/omap2/dss/core.c
+++ b/drivers/video/omap2/dss/core.c
@@ -229,6 +229,12 @@ static int omap_dss_probe(struct platform_device *pdev)
}
}
+ r = hdmi_init_platform_driver();
+ if (r) {
+ DSSERR("Failed to initialize hdmi\n");
+ goto err_hdmi;
+ }
+
r = dss_initialize_debugfs();
if (r)
goto err_debugfs;
@@ -258,6 +264,8 @@ static int omap_dss_probe(struct platform_device *pdev)
err_register:
dss_uninitialize_debugfs();
err_debugfs:
+ hdmi_uninit_platform_driver();
+err_hdmi:
if (cpu_is_omap34xx())
dsi_uninit_platform_driver();
err_dsi:
--
1.5.6.3
next prev parent reply other threads:[~2011-03-04 7:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-04 7:48 [PATCH v3 0/9] OMAP4 : DSS2 : HDMI support on OMAP4 Mythri P K
2011-03-04 7:48 ` [PATCH v3 1/9] OMAP4 : DSS2 : Add display type HDMI to DSS2 Mythri P K
2011-03-04 7:48 ` [PATCH v3 2/9] OMAP4 : DSS2 : HDMI: Select between HDMI VENC clock source Mythri P K
2011-03-04 7:48 ` [PATCH v3 3/9] OMAP4 : DSS2 : HDMI: HDMI dispc gamma table disable Mythri P K
2011-03-04 7:48 ` [PATCH v3 4/9] OMAP4 : DSS2 : HDMI: HDMI driver header file addition Mythri P K
2011-03-07 8:54 ` Tomi Valkeinen
2011-03-04 7:48 ` [PATCH v3 5/9] " Mythri P K
2011-03-07 9:46 ` Tomi Valkeinen
2011-03-08 8:17 ` K, Mythri P
2011-03-08 8:24 ` Tomi Valkeinen
2011-03-04 7:48 ` [PATCH v3 6/9] OMAP4 : DSS2 : HDMI: HDMI panel driver addition in the DSS Mythri P K
2011-03-07 10:12 ` Tomi Valkeinen
2011-03-04 7:48 ` Mythri P K [this message]
2011-03-04 7:48 ` [PATCH v3 8/9] OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 SDP Mythri P K
2011-03-04 7:48 ` [PATCH v3 9/9] OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 PANDA Mythri P K
2011-03-07 8:40 ` [PATCH v3 0/9] OMAP4 : DSS2 : HDMI support on OMAP4 Tomi Valkeinen
2011-03-08 8:08 ` K, Mythri P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299224907-11354-8-git-send-email-mythripk@ti.com \
--to=mythripk@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tomi.valkeinen@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).