diff options
author | Vincent Stehlé <v-stehle@ti.com> | 2012-02-24 18:51:39 +0100 |
---|---|---|
committer | Vincent Stehlé <v-stehle@ti.com> | 2012-02-28 11:05:45 +0100 |
commit | a9c0f8e73c17410cb37091aa72a16fea3696f612 (patch) | |
tree | 2222787d9b1cd5200528c99fb6ed94b4dc811942 | |
parent | 7fca4e9da0d95a498aed193ecb39dd0c53abab2d (diff) |
Hack! Force HPDVINCENT/5432-SGX-3
Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 6 | ||||
-rw-r--r-- | drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | 6 |
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; |