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>
This commit is contained in:
Padmanabhan Komanduru 2015-05-18 22:56:21 +05:30 committed by David Keitel
parent c6e6724120
commit 1fa271e59c

View file

@ -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;