summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/omap2/dss/hdmi.c6
-rw-r--r--drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 793eed812cc..b7c0ba774bb 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -712,6 +712,12 @@ void hdmi_dump_regs(struct seq_file *s)
static int hdmi_get_current_hpd(void)
{
+
+
+ // Hack! Force HPD.
+ return 1;
+
+
if (!hdmi.ip_data.hpd_gpio)
return 0;
return gpio_get_value(hdmi.ip_data.hpd_gpio);
diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
index 2fac503b0ed..d0b743d7744 100644
--- a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
+++ b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
@@ -243,6 +243,12 @@ static int hdmi_check_hpd_state(struct hdmi_ip_data *ip_data)
pr_err("hdmi_check_hpd_state says %d\n", hpd);
+
+ // Hack! Force HPD.
+ pr_err("Hack! Force HPD\n");
+ hpd = 1;
+
+
if (hpd == ip_data->phy_tx_enabled) {
spin_unlock_irqrestore(&phy_tx_lock, flags);
return 0;