summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAjay Singh Parmar <aparmar@codeaurora.org>2015-10-08 18:58:18 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:46:31 -0700
commit919af5ce9b95286ed4b8d97cdfc1c89e739c541a (patch)
treeba887ec62328edbcd5faad97289c76a8b2f47713 /drivers/video
parent7f60965397e5eb2516a47aa0c6311e0e4e7968b9 (diff)
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
index aa3f4db5c30a..87ac565f1868 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
@@ -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;