msm: mdss: add DSI revision check for continuous splash screen

Handoff APIs tries to do clamp configuration during
continuous splash screen. This configuration is not
working for msm8996 which put PHY in bad state for
this target. It is fixed by adding the DSI revision
check in handoff API to avoid clamp configuration.

Change-Id: I9f35d50a78f064757373711968fba05c120f3694
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel 2015-05-10 15:56:27 -07:00 committed by David Keitel
parent 44f58d74d8
commit 775c9003a9

View file

@ -1538,6 +1538,9 @@ static int mdss_dsi_core_power_ctrl(struct mdss_dsi_ctrl_pdata *ctrl,
goto error_ulps;
}
} else {
if (pdata->panel_info.cont_splash_enabled)
mdss_dsi_read_hw_revision(ctrl);
/*
* Enable DSI clamps only if entering idle power collapse or
* when ULPS during suspend is enabled.