Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f39725d authored by Casey Piper's avatar Casey Piper
Browse files

msm: mdss: hdmi: remove DDC power disable in HPD off



The HDMI driver is causing an unbalanced
mdss_update_reg_bus_vote call when powering off HPD
in suspend state. Since the DDC module is powered
on for HDCP in MDSS_EVENT_PANEL_ON and then powered
off in MDSS_EVENT_BLANK, there is no need to power
off the DDC module again in the HPD off function.

Change-Id: I3b5e9e352d07e572e6c909554945d949fc374287
Signed-off-by: default avatarCasey Piper <cpiper@codeaurora.org>
parent d4bc64ea
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3391,13 +3391,6 @@ static void hdmi_tx_hpd_off(struct hdmi_tx_ctrl *hdmi_ctrl)

	hdmi_tx_set_mode(hdmi_ctrl, false);

	if (hdmi_ctrl->hpd_state) {
		rc = hdmi_tx_enable_power(hdmi_ctrl, HDMI_TX_DDC_PM, 0);
		if (rc)
			DEV_INFO("%s: Failed to disable ddc power. Error=%d\n",
				__func__, rc);
	}

	rc = hdmi_tx_enable_power(hdmi_ctrl, HDMI_TX_HPD_PM, 0);
	if (rc)
		DEV_INFO("%s: Failed to disable hpd power. Error=%d\n",