msm: mdss: update vic info when powering on HDMI

HDMI vic info should be updated as well when powering on
HDMI TX, otherwise the obsolete vic info is set to hardware.

CRs-Fixed: 1086894
Change-Id: Ia3ea67cc7658098928a442460198b2dccc8ff8e1
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
This commit is contained in:
Ray Zhang 2016-10-11 17:01:00 +08:00
parent 1e17007652
commit 906ef866d0

View file

@ -3117,7 +3117,7 @@ static int hdmi_tx_power_on(struct hdmi_tx_ctrl *hdmi_ctrl)
void *pdata = hdmi_tx_get_fd(HDMI_TX_FEAT_PANEL);
void *edata = hdmi_tx_get_fd(HDMI_TX_FEAT_EDID);
hdmi_panel_get_vic(&panel_data->panel_info,
hdmi_ctrl->vic = hdmi_panel_get_vic(&panel_data->panel_info,
&hdmi_ctrl->ds_data);
if (hdmi_ctrl->vic <= 0) {