summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPadmanabhan Komanduru <pkomandu@codeaurora.org>2015-05-18 22:56:21 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:43:45 -0700
commit1fa271e59cdcf3bb6d5cedc29a08e78da1cd45d2 (patch)
tree3cf37d94422dbbe40ae2f0421f9d32482c116cf8 /drivers
parentc6e6724120e236dce10949976a0861904579362c (diff)
msm: mdss: use the correct variable for continuous splash status
The DSI driver checks if continuous splash screen is enabled via mdss_panel_get_boot_cfg API to MDP driver. In the current code, we use the wrong variable to check continuous splash screen status. This might cause display crash during boot up when continuous splash screen is disabled. Fix this issue by using the correct variable to check the status. Change-Id: Iaa752a5c764dbd3ca94a5e14514f9174dad21695 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c
index 87a7f8b0fb53..8749a171b14b 100644
--- a/drivers/video/fbdev/msm/mdss_mdp.c
+++ b/drivers/video/fbdev/msm/mdss_mdp.c
@@ -3305,7 +3305,7 @@ int mdss_panel_get_boot_cfg(void)
if (!mdss_res || !mdss_res->pan_cfg.init_done)
return -EPROBE_DEFER;
- if (mdss_res->pan_cfg.lk_cfg)
+ if (mdss_res->handoff_pending)
rc = 1;
else
rc = 0;