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:
parent
8e30310055
commit
b74ec1b8cc
1 changed files with 9 additions and 2 deletions
|
@ -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) {
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue