summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatenda Chipeperekwa <tatendac@codeaurora.org>2016-01-19 16:01:29 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:17:56 -0700
commitd915167333718afa065f42e8b45396fc3a2dd7ce (patch)
tree6e9640928d9d7db570bc7f68c68f18a14b27117e
parent36266455accc5e31addcccfc9f861dbd6d297075 (diff)
msm: mdss: hdmi: update panel power state for all hdmi use cases
Update the panel power state after the HDMI transmitter core is powered on for all HDMI use cases (external and primary). This will enable other entities (e.g. Audio driver) to query the correct power state during boot up. Change-Id: Ie6765880e9e9d9d6f087c1726d331ef2dd632cad Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_tx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
index 5a7aeacee6d8..b69d200ce2de 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
@@ -3909,8 +3909,9 @@ static int hdmi_tx_power_on(struct mdss_panel_data *panel_data)
goto end;
}
- hdmi_ctrl->panel_power_on = true;
end:
+ hdmi_ctrl->panel_power_on = true;
+
dss_reg_dump(io->base, io->len, "HDMI-ON: ", REG_DUMP);
DEV_DBG("%s: Tx: %s (%s mode)\n", __func__,