From 919af5ce9b95286ed4b8d97cdfc1c89e739c541a Mon Sep 17 00:00:00 2001 From: Ajay Singh Parmar Date: Thu, 8 Oct 2015 18:58:18 -0700 Subject: 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 --- drivers/video/fbdev/msm/mdss_hdmi_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/video') 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; -- cgit v1.2.3