From 906ef866d0554bfb2b6952f84c3fe96453b24d08 Mon Sep 17 00:00:00 2001 From: Ray Zhang Date: Tue, 11 Oct 2016 17:01:00 +0800 Subject: [PATCH] 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 --- drivers/video/fbdev/msm/mdss_hdmi_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c index 9c90a72bce99..d486bd74aefd 100644 --- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c +++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c @@ -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) {