summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatenda Chipeperekwa <tatendac@codeaurora.org>2016-03-23 12:28:47 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-04-26 14:38:11 -0700
commitf3d7b604a50b5ef062d6b442618ac65bc0fb2178 (patch)
tree43efa679f55345c4d77d7ab1c472869826a54b14
parenteb30f34bba5228ec8d07939056fb8fa0761b4d83 (diff)
msm: mdss: hdmi: do not toggle power for HDMI modules
Do not toggle the power for HDMI modules during continuous splash since the power would have been enabled in the bootloader. Toggling power during handoff can leave the core in a bad state especially when scrambling is enabled for 4K HDMI modes. Change-Id: I8279b8933386db184ed2c627cef928321cbc3eea Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_tx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
index 5ae106e871e5..97bc1b8fe51a 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
@@ -2901,13 +2901,13 @@ static int hdmi_tx_enable_power(struct hdmi_tx_ctrl *hdmi_ctrl,
goto error;
}
- if (enable && !hdmi_ctrl->power_data_enable[module]) {
- if (hdmi_ctrl->panel_data.panel_info.cont_splash_enabled) {
- DEV_DBG("%s: %s already eanbled by splash\n",
+ if (hdmi_ctrl->panel_data.panel_info.cont_splash_enabled) {
+ DEV_DBG("%s: %s enabled by splash.\n",
__func__, hdmi_pm_name(module));
- return 0;
- }
+ return 0;
+ }
+ if (enable && !hdmi_ctrl->power_data_enable[module]) {
rc = msm_dss_enable_vreg(power_data->vreg_config,
power_data->num_vreg, 1);
if (rc) {