Skip to content

Commit

Permalink
drm/msm/dsi: use pr_err_ratelimited
Browse files Browse the repository at this point in the history
When things go badly we can get a lot of these error irqs.  Let's not
DoS the user.

Signed-off-by: Rob Clark <robdclark@gmail.com>
  • Loading branch information
robclark committed May 14, 2015
1 parent 7194b62 commit ff431fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/msm/dsi/dsi_host.c
Expand Up @@ -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);

Expand Down

0 comments on commit ff431fa

Please sign in to comment.