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:
parent
c6e6724120
commit
1fa271e59c
1 changed files with 1 additions and 1 deletions
|
@ -3305,7 +3305,7 @@ int mdss_panel_get_boot_cfg(void)
|
||||||
|
|
||||||
if (!mdss_res || !mdss_res->pan_cfg.init_done)
|
if (!mdss_res || !mdss_res->pan_cfg.init_done)
|
||||||
return -EPROBE_DEFER;
|
return -EPROBE_DEFER;
|
||||||
if (mdss_res->pan_cfg.lk_cfg)
|
if (mdss_res->handoff_pending)
|
||||||
rc = 1;
|
rc = 1;
|
||||||
else
|
else
|
||||||
rc = 0;
|
rc = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue