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

Commit 74384218 authored by Ramendra Kumar's avatar Ramendra Kumar
Browse files

msm: mdss: hdmi: fix EDID parser issue



EDID parsed data is being wrongly cleared from HDMI driver's
power_off(). Instead clear it only while handling hpd_off().

Change-Id: Iabc69fd80e8bbcc73261417f1a391206f3a0697f
Signed-off-by: default avatarRamendra Kumar <ramendra@codeaurora.org>
parent 10d26193
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3395,8 +3395,6 @@ static int hdmi_tx_power_off(struct hdmi_tx_ctrl *hdmi_ctrl)
	if (hdmi_ctrl->hdmi_tx_hpd_done)
		hdmi_ctrl->hdmi_tx_hpd_done(
			hdmi_ctrl->downstream_data);

	hdmi_edid_reset_parser(hdmi_tx_get_fd(HDMI_TX_FEAT_EDID));
end:
	DEV_INFO("%s: HDMI Core: OFF\n", __func__);
	return 0;
@@ -3519,6 +3517,8 @@ static void hdmi_tx_hpd_off(struct hdmi_tx_ctrl *hdmi_ctrl)
	hdmi_ctrl->hpd_off_pending = false;
	hdmi_ctrl->dc_support = false;

	hdmi_edid_reset_parser(hdmi_tx_get_fd(HDMI_TX_FEAT_EDID));

	DEV_DBG("%s: HPD is now OFF\n", __func__);
} /* hdmi_tx_hpd_off */