video: tegra: hdmi: remove HDMI hotoplug emulation
Jong Kim [Tue, 20 May 2014 00:48:19 +0000 (17:48 -0700)]
Remove unnecessary hotplug emulation for HDTV.
(Only DVI monitors require hotplug emulation).

bug 1495496

Change-Id: Ie7c30f9307864099fd6ad14f2d863a809f570104
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/411747
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Pankaj Dabade <pdabade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

drivers/video/tegra/dc/hdmi_state_machine.c

index 3707a0a..2312a98 100644 (file)
@@ -151,7 +151,7 @@ static int emulate_hotplug = 1;
 static void handle_enable_l(struct tegra_dc_hdmi_data *hdmi)
 {
        tegra_dc_enable(hdmi->dc);
-       if (emulate_hotplug) {
+       if (emulate_hotplug && hdmi->dvi) {
                emulate_hotplug = 0;
                hdmi_reread_edid(hdmi->dc);
        }