summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorMinwuk Lee <mlee@nvidia.com>2011-01-20 13:54:40 -0800
committerVarun Colbert <vcolbert@nvidia.com>2011-01-27 17:26:09 -0800
commit53033d91b76dbf1beecaba731e30d2b6918efff8 (patch)
tree4b2858955a6346d8a81b3cc0c654aa3d907be992 /drivers/video
parenta95144ecc43bbad0deee9231f8f0fb1edc0a821b (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 Change-Id: I79f9ad24616388a9eb5156d53b12676b96665c38 Reviewed-on: http://git-master/r/16285 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/video')
-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 4b368cdaa4ff..2b4f46ba1221 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -477,6 +477,7 @@ static bool tegra_dc_hdmi_detect(struct tegra_dc *dc)
dc->out->v_size = specs.max_y * 1000;
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");
return true;