提交 ff431fa4 编写于 作者: R Rob Clark

drm/msm/dsi: use pr_err_ratelimited

When things go badly we can get a lot of these error irqs.  Let's not
DoS the user.
Signed-off-by: NRob Clark <robdclark@gmail.com>
上级 7194b62c
......@@ -1215,7 +1215,7 @@ static void dsi_err_worker(struct work_struct *work)
container_of(work, struct msm_dsi_host, err_work);
u32 status = msm_host->err_work_state;
pr_err("%s: status=%x\n", __func__, status);
pr_err_ratelimited("%s: status=%x\n", __func__, status);
if (status & DSI_ERR_STATE_MDP_FIFO_UNDERFLOW)
dsi_sw_reset_restore(msm_host);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册