summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/hdmi.c
diff options
context:
space:
mode:
authorMinwuk Lee <mlee@nvidia.com>2011-01-20 13:54:40 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:52:02 -0800
commit80e56fc53488075649832c771dd0f7b02d1dedeb (patch)
treeeeca0ccc6f46a96fffbb3204797fe031dcc1ce41 /drivers/video/tegra/dc/hdmi.c
parent30524c4736d879add46f9087c9621598217951ce (diff)
tegra : HDMI: hdmi hot plug detection modification
When tegra_dc_hdmi_detect is triggered with high HPD Interrupt, but there's no previous trigger of low HPD interrupt, by some specific HW design, then, there's no switch change, no hotplug_handling is getting called because 1=>1 change do nothing in switch_set_state. Add this change for safe operation. Bug 779317 Original-Change-Id: I79f9ad24616388a9eb5156d53b12676b96665c38 Reviewed-on: http://git-master/r/16285 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R329952d27a0f27a997489452d47f31b68dbe98bb
Diffstat (limited to 'drivers/video/tegra/dc/hdmi.c')
-rw-r--r--drivers/video/tegra/dc/hdmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c
index 7df65f275041..5a63c9ada582 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -755,6 +755,7 @@ void tegra_dc_hdmi_detect_config(struct tegra_dc *dc,
hdmi->dvi = !(specs->misc & FB_MISC_HDMI);
tegra_fb_update_monspecs(dc->fb, specs, tegra_dc_hdmi_mode_filter);
+ hdmi->hpd_switch.state = 0;
switch_set_state(&hdmi->hpd_switch, 1);
dev_info(&dc->ndev->dev, "display detected\n");