Revert "video: tegra: hdcp: disable hdcp when unsupported"
Anand Prasad [Wed, 9 Dec 2015 01:52:08 +0000 (17:52 -0800)]
This reverts commit 3d14e82dcb772a897e77a22f1a6730a94fb6daaa.

Bug 200147700

Change-Id: I525da09602a6818b2b751752edf89e817ae8e245
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-on: http://git-master/r/843269
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

drivers/video/tegra/dc/hdmi2.0.c

index f90e6f7..9b2b500 100644 (file)
@@ -1837,9 +1837,7 @@ static int tegra_hdmi_controller_enable(struct tegra_hdmi *hdmi)
 
        tegra_hdmi_config_clk(hdmi, TEGRA_HDMI_BRICK_CLK);
        tegra_dc_sor_attach(sor);
-
-       if (!hdmi->dvi)
-               tegra_nvhdcp_set_plug(hdmi->nvhdcp, true);
+       tegra_nvhdcp_set_plug(hdmi->nvhdcp, tegra_dc_hpd(dc));
 
        tegra_dc_setup_clk(dc, dc->clk);
        tegra_dc_hdmi_setup_clk(dc, hdmi->sor->sor_clk);