summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-05-07 22:19:02 +0300
committerRob Clark <robdclark@gmail.com>2015-05-14 18:50:38 +0300
commitff431fa4d96fc34568454aae4cc264a7760636a8 (patch)
treeb1be67e396f2ac736fe4873781ee371ee100d1d3 /drivers/gpu/drm
parent7194b62c8c99727e3f145b00b8390a905252370e (diff)
downloadlinux-ff431fa4d96fc34568454aae4cc264a7760636a8.tar.xz
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: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/msm/dsi/dsi_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c
index a3ff0e296604..47a7f0036478 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_host.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_host.c
@@ -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);