From 1fa271e59cdcf3bb6d5cedc29a08e78da1cd45d2 Mon Sep 17 00:00:00 2001 From: Padmanabhan Komanduru Date: Mon, 18 May 2015 22:56:21 +0530 Subject: [PATCH] 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 --- drivers/video/fbdev/msm/mdss_mdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;