aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorSujeet Baranwal <s-baranwal@ti.com>2011-10-03 17:07:06 +0530
committerZiyan <jaraidaniel@gmail.com>2015-04-17 20:47:35 +0200
commit40ab089fe00d16b3fb952d0382b2dcbe7c3063ad (patch)
tree707f225fc00c5a25f9c5d275e30761558a756499 /drivers/video/omap2
parent6aef1b565361bbf066bcf4dc3c602677f20ed189 (diff)
downloadkernel_samsung_tuna-40ab089fe00d16b3fb952d0382b2dcbe7c3063ad.zip
kernel_samsung_tuna-40ab089fe00d16b3fb952d0382b2dcbe7c3063ad.tar.gz
kernel_samsung_tuna-40ab089fe00d16b3fb952d0382b2dcbe7c3063ad.tar.bz2
OMAP4: HDMI: Detect HDMI connection state at probe time
Check if HDMI is connected at probe time, because we will not get an HPD interrupt in this case. Change-Id: I0bb3a25773edfef787f14cccb55a9bc231cde025 Signed-off-by: Baranwal Sujeet <s-baranwal@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/dss/hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index cf23dc0..d450af4 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -936,6 +936,9 @@ static int omapdss_hdmihw_probe(struct platform_device *pdev)
hdmi_panel_init();
+ if(hdmi_get_current_hpd())
+ hdmi_panel_hpd_handler(1);
+
return 0;
}