msm: mdss: do not init phy and controller with cont splash enabled

When continuous splash screen feature is enabled, the DSI phy and
controller are configured in the bootloader and left on. In such
cases, we do not need to initialize DSI phy and controller during
probe as it may overwrite the settings and can potentially cause
unexpected behaviors.

Change-Id: Ifdf4579be2a3cd45f71170237e0be193d78dba0f
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
This commit is contained in:
Aravind Venkateswaran 2014-08-11 13:24:49 -07:00 committed by David Keitel
parent 8e30310055
commit b74ec1b8cc

View file

@ -1086,8 +1086,15 @@ static int mdss_dsi_core_power_ctrl(struct mdss_dsi_ctrl_pdata *ctrl,
*/
if (pdata->panel_info.blank_state == MDSS_PANEL_BLANK_BLANK)
mdss_dsi_phy_sw_reset(ctrl->ctrl_base);
mdss_dsi_phy_init(ctrl);
mdss_dsi_ctrl_setup(ctrl);
/*
* Phy and controller setup need not be done during bootup
* when continuous splash screen is enabled.
*/
if (!pdata->panel_info.cont_splash_enabled) {
mdss_dsi_phy_init(ctrl);
mdss_dsi_ctrl_setup(ctrl);
}
if (ctrl->ulps) {
/*