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

Commit c03a5b30 authored by Krishna Srinivas's avatar Krishna Srinivas
Browse files

msm: mdss: hdmi: disable 5v line for HDMI suspend state



To optimize power in suspend state, disable
5v line when HPD is not needed.

Change-Id: Ie8caca7161b95a517d94ff418ae1a36461d85181
Signed-off-by: default avatarKrishna Srinivas <krisrini@codeaurora.org>
parent d71271a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3035,7 +3035,7 @@ static void hdmi_tx_hpd_off(struct hdmi_tx_ctrl *hdmi_ctrl)
		hdmi_ctrl->mdss_util->disable_irq(&hdmi_tx_hw);
		hdmi_tx_set_mode(hdmi_ctrl, false);
	}

	hdmi_tx_config_5v(hdmi_ctrl, false);
	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",