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: Ajay Singh Parmar <aparmar@codeaurora.org>
This commit is contained in:
Ajay Singh Parmar 2015-10-08 18:58:18 -07:00 committed by David Keitel
parent 7f60965397
commit 919af5ce9b

View file

@ -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;