disp: msm: dsi: Reducing logging in dsi_panel.c

Reducing unnecessary logging in dsi_panel.c file.

Port from: 7a44c5e

Change-Id: Ib8ffd31ed8d35d322de41b3061441bb46a48c7f3
Signed-off-by: Bang Nguyen <bangnguyen@motorola.com>
Reviewed-on: https://gerrit.mot.com/1697577
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Bang Nguyen 2019-08-27 09:50:34 -05:00 • committed by tongkun1
commit d17eecb2ac

View file

@ -362,7 +362,7 @@ static int dsi_panel_power_on(struct dsi_panel *panel)
{
int rc = 0;
DSI_INFO("%s(%s)+\n", __func__, panel->name);
DSI_INFO("(%s)+\n", panel->name);
rc = dsi_pwr_enable_regulator(&panel->power_info, true);
if (rc) {
DSI_ERR("[%s] failed to enable vregs, rc=%d\n",
@ -771,8 +771,8 @@ static int dsi_panel_send_param_cmd(struct dsi_panel *panel,
mutex_lock(&panel->panel_lock);
if (panel_param->value == param_info->value)
{
DSI_INFO("%s(mode=%d): requested value=%d is same. Do nothing\n",
__func__, param_info->param_idx, param_info->value);
DSI_INFO("(mode=%d): requested value=%d is same. Do nothing\n",
param_info->param_idx, param_info->value);
rc = 0;
} else {
DSI_DEBUG("%s: requested: old=%d new=%d.\n", __func__,
@ -799,7 +799,7 @@ static int dsi_panel_send_param_cmd(struct dsi_panel *panel,
}
panel_param->value = param_info->value;
DSI_INFO("%s(%d) is setting new value %d\n", __func__,
DSI_INFO("(%d) is setting new value %d\n",
param_info->param_idx, param_info->value);
rc = len;
}
@ -814,7 +814,7 @@ static int dsi_panel_set_hbm(struct dsi_panel *panel,
{
int rc = 0;
pr_info("%s(%d)\n", __func__, param_info->value);
pr_info("(%d)\n", param_info->value);
rc = dsi_panel_send_param_cmd(panel, param_info);
if (rc < 0)
DSI_ERR("%s: failed to send param cmds. ret=%d\n", __func__, rc);
@ -3193,7 +3193,7 @@ static int dsi_panel_parse_topology(
}
if (topology_override >= 0 && topology_override < top_count) {
DSI_INFO("override topology: cfg:%d lm:%d comp_enc:%d intf:%d\n",
DSI_DEBUG("override topology: cfg:%d lm:%d comp_enc:%d intf:%d\n",
topology_override,
topology[topology_override].num_lm,
topology[topology_override].num_enc,
@ -3216,7 +3216,7 @@ static int dsi_panel_parse_topology(
goto parse_fail;
}
DSI_INFO("default topology: lm: %d comp_enc:%d intf: %d\n",
DSI_DEBUG("default topology: lm: %d comp_enc:%d intf: %d\n",
topology[top_sel].num_lm,
topology[top_sel].num_enc,
topology[top_sel].num_intf);
@ -5022,6 +5022,7 @@ int dsi_panel_post_switch(struct dsi_panel *panel)
return -EINVAL;
}
pr_info("(%s)+\n", panel->name);
mutex_lock(&panel->panel_lock);
rc = dsi_panel_tx_cmd_set(panel, DSI_CMD_SET_POST_TIMING_SWITCH);
@ -5044,7 +5045,7 @@ int dsi_panel_enable(struct dsi_panel *panel)
return -EINVAL;
}
DSI_INFO("%s(%s)+\n", __func__, panel->name);
DSI_INFO("(%s)+\n", panel->name);
mutex_lock(&panel->panel_lock);
rc = dsi_panel_tx_cmd_set(panel, DSI_CMD_SET_ON);
@ -5075,7 +5076,7 @@ int dsi_panel_enable(struct dsi_panel *panel)
dsi_panel_trigger_panel_dead_event(panel);
} else {
DSI_INFO("-. Pwr_mode(0x0A) = 0x%x\n", pwr_mode);
DSI_INFO("Pwr_mode(0x0A) = 0x%x\n", pwr_mode);
panel_recovery_retry = 0;
}
} else