mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
fixup! (CR): disp: msm:: reset the param value to the default value
This code is pick from the project with Android-p, But there is a code error when make propagation from the previous project. We must reset the param after panel enabled every time. Mot-CRs-fixed: (CR) Signed-off-by: houdz1 <houdz1@motorola.com> Change-Id: I164c5bd1dcb89bfcf07627eb2455db0fc9d184b6 Reviewed-on: https://gerrit.mot.com/1782141 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Yeqing Wang <wangyq13@motorola.com> Reviewed-by: Shanshan Dai <daiss1@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
3d950a806b
commit
b6d3acff9c
1 changed files with 1 additions and 2 deletions
|
|
@ -8978,7 +8978,7 @@ int dsi_display_enable(struct dsi_display *display)
|
|||
display->name, rc);
|
||||
goto error;
|
||||
}
|
||||
|
||||
dsi_panel_reset_param(display->panel);
|
||||
dsi_display_enable_status(display, true);
|
||||
}
|
||||
dsi_display_panel_id_notification(display);
|
||||
|
|
@ -8992,7 +8992,6 @@ int dsi_display_enable(struct dsi_display *display)
|
|||
display->name, rc);
|
||||
goto error;
|
||||
}
|
||||
dsi_panel_reset_param(display->panel);
|
||||
}
|
||||
|
||||
if (mode->dsi_mode_flags & DSI_MODE_FLAG_DMS) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue