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

Commit 5d52b6fd authored by Ajay Singh Parmar's avatar Ajay Singh Parmar
Browse files

msm: mdss: hdmi: enable hdmi before ddc transaction



DDC transactions need HDMI to be enabled. Enable HDMI Tx core
before scrambling setup which uses DDC.

Change-Id: I592d239eaba37d8102ea440937dc2c29b5821461
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent 9c57304b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3304,11 +3304,11 @@ static int hdmi_tx_start(struct hdmi_tx_ctrl *hdmi_ctrl)
		hdmi_tx_set_spd_infoframe(hdmi_ctrl);
	}

	hdmi_tx_set_mode(hdmi_ctrl, true);

	if (hdmi_tx_setup_scrambler(hdmi_ctrl))
		DEV_WARN("%s: Scrambler setup failed\n", __func__);

	hdmi_tx_set_mode(hdmi_ctrl, true);

	DEV_INFO("%s: HDMI Core: Initialized\n", __func__);

	return rc;