mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
display: fix Local hbm restore '0' backlight level issue
sometimes,finger unlock, turn on FOD HBM first, and the turn on the backlight, this caused the restore '0' brightness that screen can not be turned on. Change-Id: I450373a5b50d30e2147a0a6534bdec007a12b60f Signed-off-by: tanhua1 <tanhua1@motorola.com> Reviewed-on: https://gerrit.mot.com/2274898 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Dezhen Hou <houdz1@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
25c2a63dd5
commit
426f309830
1 changed files with 3 additions and 3 deletions
|
|
@ -882,14 +882,14 @@ int dsi_panel_set_backlight(struct dsi_panel *panel, u32 bl_lvl)
|
|||
if (panel->host_config.ext_bridge_mode)
|
||||
return 0;
|
||||
|
||||
if (dsi_panel_set_hbm_backlight(panel, &bl_lvl))
|
||||
return 0;
|
||||
|
||||
if(panel->lhbm_config.enable) {
|
||||
panel->lhbm_config.dbv_level = bl_lvl;
|
||||
DSI_INFO("backlight type:%d dbv lvl:%d\n", bl->type, bl_lvl);
|
||||
}
|
||||
|
||||
if (dsi_panel_set_hbm_backlight(panel, &bl_lvl))
|
||||
return 0;
|
||||
|
||||
DSI_DEBUG("backlight type:%d lvl:%d\n", bl->type, bl_lvl);
|
||||
switch (bl->type) {
|
||||
case DSI_BACKLIGHT_WLED:
|
||||
|
|
|
|||
Loading…
Reference in a new issue