Loading drivers/video/msm/mdss/mdss_hdmi_hdcp.c +1 −15 Original line number Diff line number Diff line /* Copyright (c) 2010-2015 The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2016 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1363,15 +1363,6 @@ int hdmi_hdcp_reauthenticate(void *input) return 0; } /* * Disable HPD circuitry. * This is needed to reset the HDCP cipher engine so that when we * attempt a re-authentication, HW would clear the AN0_READY and * AN1_READY bits in HDMI_HDCP_LINK0_STATUS register */ DSS_REG_W(io, HDMI_HPD_CTRL, DSS_REG_R(hdcp_ctrl->init_data.core_io, HDMI_HPD_CTRL) & ~BIT(28)); hdmi_hw_version = DSS_REG_R(io, HDMI_VERSION); if (hdmi_hw_version >= 0x30030000) { DSS_REG_W(io, HDMI_CTRL_SW_RESET, BIT(1)); Loading @@ -1389,11 +1380,6 @@ int hdmi_hdcp_reauthenticate(void *input) /* Disable encryption and disable the HDCP block */ DSS_REG_W(io, HDMI_HDCP_CTRL, 0); /* Enable HPD circuitry */ DSS_REG_W(hdcp_ctrl->init_data.core_io, HDMI_HPD_CTRL, DSS_REG_R(hdcp_ctrl->init_data.core_io, HDMI_HPD_CTRL) | BIT(28)); /* Restart authentication attempt */ DEV_DBG("%s: %s: Scheduling work to start HDCP authentication", __func__, HDCP_STATE_NAME); Loading Loading
drivers/video/msm/mdss/mdss_hdmi_hdcp.c +1 −15 Original line number Diff line number Diff line /* Copyright (c) 2010-2015 The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2016 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1363,15 +1363,6 @@ int hdmi_hdcp_reauthenticate(void *input) return 0; } /* * Disable HPD circuitry. * This is needed to reset the HDCP cipher engine so that when we * attempt a re-authentication, HW would clear the AN0_READY and * AN1_READY bits in HDMI_HDCP_LINK0_STATUS register */ DSS_REG_W(io, HDMI_HPD_CTRL, DSS_REG_R(hdcp_ctrl->init_data.core_io, HDMI_HPD_CTRL) & ~BIT(28)); hdmi_hw_version = DSS_REG_R(io, HDMI_VERSION); if (hdmi_hw_version >= 0x30030000) { DSS_REG_W(io, HDMI_CTRL_SW_RESET, BIT(1)); Loading @@ -1389,11 +1380,6 @@ int hdmi_hdcp_reauthenticate(void *input) /* Disable encryption and disable the HDCP block */ DSS_REG_W(io, HDMI_HDCP_CTRL, 0); /* Enable HPD circuitry */ DSS_REG_W(hdcp_ctrl->init_data.core_io, HDMI_HPD_CTRL, DSS_REG_R(hdcp_ctrl->init_data.core_io, HDMI_HPD_CTRL) | BIT(28)); /* Restart authentication attempt */ DEV_DBG("%s: %s: Scheduling work to start HDCP authentication", __func__, HDCP_STATE_NAME); Loading