disp: msm: dsi: Use pr_err_ratelimited to log PHY contention error

Replace DSI_CTRL_ERROR with pr_err_ratelimited to reduce PHY contention
logging errors, as excessive logging in kernel can lead to system crash.

Change-Id: Ibd81a0e852a73186144ebefc8a1c09020a6e74f0
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
This commit is contained in:
Rohith Iyer
2023-06-26 11:24:19 -07:00
parent e280657f7f
commit 446c1b69b5

View File

@@ -2728,8 +2728,8 @@ static void dsi_ctrl_handle_error_status(struct dsi_ctrl *dsi_ctrl,
/* DTLN PHY error */
if (error & 0x3000E00)
DSI_CTRL_ERR(dsi_ctrl, "dsi PHY contention error: 0x%lx\n",
error);
pr_err_ratelimited("[%s] dsi PHY contention error: 0x%lx\n",
dsi_ctrl->name, error);
/* ignore TX timeout if blpp_lp11 is disabled */
if (dsi_ctrl->host_config.panel_mode == DSI_OP_VIDEO_MODE &&