Revert "disp: msm:: reset the param value to the default value"

This reverts commit 5c202c9614.

Change-Id: Ia6c492d29b47f8d829c38e941fd3a896e8102647
This commit is contained in:
dianlujitao 2022-09-15 18:53:57 +08:00 • committed by Michael Bestas
commit 2906b38ea7
No known key found for this signature in database
3 changed files with 0 additions and 15 deletions

View file

@ -9233,7 +9233,6 @@ int dsi_display_enable(struct dsi_display *display)
goto error;
}
}
dsi_panel_reset_param(display->panel);
}
if (mode->dsi_mode_flags & DSI_MODE_FLAG_DMS) {

View file

@ -1417,18 +1417,6 @@ int dsi_panel_set_param(struct dsi_panel *panel,
return rc;
}
void dsi_panel_reset_param(struct dsi_panel *panel)
{
struct panel_param *param;
int i;
for (i = 0; i < PARAM_ID_NUM; i++) {
/* Since only panel support for now */
param = &dsi_panel_param[0][i];
param->value = param->default_value;
}
}
static int dsi_panel_bl_register(struct dsi_panel *panel)
{
int rc = 0;

View file

@ -566,8 +566,6 @@ bool dsi_panel_param_is_supported(u32 param_idx);
int dsi_panel_set_param(struct dsi_panel *panel,
struct msm_param_info *param_info);
void dsi_panel_reset_param(struct dsi_panel *panel);
int dsi_panel_get_elvss_data(struct dsi_panel *panel);
int dsi_panel_get_elvss_data_1(struct dsi_panel *panel);
int dsi_panel_set_elvss_dim_off(struct dsi_panel *panel, u8 val);