summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/dsi/dsi_host.c
diff options
context:
space:
mode:
authorRob Clark2015-05-07 21:19:02 +0200
committerRob Clark2015-05-14 17:50:38 +0200
commitff431fa4d96fc34568454aae4cc264a7760636a8 (patch)
treeb1be67e396f2ac736fe4873781ee371ee100d1d3 /drivers/gpu/drm/msm/dsi/dsi_host.c
parentdrm/msm: fix unbalanced DRM framebuffer init/destroy (diff)
downloadkernel-qcow2-linux-ff431fa4d96fc34568454aae4cc264a7760636a8.tar.gz
kernel-qcow2-linux-ff431fa4d96fc34568454aae4cc264a7760636a8.tar.xz
kernel-qcow2-linux-ff431fa4d96fc34568454aae4cc264a7760636a8.zip
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/msm/dsi/dsi_host.c')
-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);