mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
disp: msm: dsi: Set OLED reugalor mode when exit LP1
When panel exits LP1, need to set OLED power mode. Change-Id: I045777a0dce941e45b71bc74c7b2908b24df3396 Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:
parent
2da9889075
commit
3b554d4fba
1 changed files with 2 additions and 1 deletions
|
|
@ -3948,7 +3948,8 @@ int dsi_panel_set_nolp(struct dsi_panel *panel)
|
|||
* Consider about LP1->LP2->NOLP.
|
||||
*/
|
||||
if (dsi_panel_is_type_oled(panel) &&
|
||||
(panel->power_mode == SDE_MODE_DPMS_LP2))
|
||||
(panel->power_mode == SDE_MODE_DPMS_LP1 ||
|
||||
panel->power_mode == SDE_MODE_DPMS_LP2))
|
||||
dsi_pwr_panel_regulator_mode_set(&panel->power_info,
|
||||
"ibb", REGULATOR_MODE_NORMAL);
|
||||
rc = dsi_panel_tx_cmd_set(panel, DSI_CMD_SET_NOLP);
|
||||
|
|
|
|||
Loading…
Reference in a new issue