From e2ef952c4e59f40ed17c9a89a814980668c77366 Mon Sep 17 00:00:00 2001 From: Dhaval Patel Date: Mon, 4 Apr 2016 12:41:33 -0700 Subject: [PATCH] mdss: mdp: avoid panic if recovery handler is uninitialized Recovery handler is uninitialized during ctl stop process. A fifo error occur during stop process leads to panic which is false alarm. These errors do need panic because controller is going to stop/start and invokes the panel power off/power on. This patch removes the panic from the cases where recovery handler is uninitialized. Change-Id: I422d53d008223a9b0520f499e629f681bb6afa05 Signed-off-by: Dhaval Patel --- drivers/video/fbdev/msm/mdss_dsi_host.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/video/fbdev/msm/mdss_dsi_host.c b/drivers/video/fbdev/msm/mdss_dsi_host.c index c9168242da60..5f8b45413e32 100644 --- a/drivers/video/fbdev/msm/mdss_dsi_host.c +++ b/drivers/video/fbdev/msm/mdss_dsi_host.c @@ -2811,12 +2811,6 @@ static int dsi_event_thread(void *data) pr_debug("%s: Handling underflow event\n", __func__); __dsi_fifo_error_handler(ctrl, true); - } else { - pr_err("%s: ctrl recovery not defined\n", - __func__); - MDSS_XLOG_TOUT_HANDLER("mdp", "dsi0_ctrl", - "dsi0_phy", "dsi1_ctrl", "dsi1_phy", "vbif", - "vbif_nrt", "dbg_bus", "vbif_dbg_bus", "panic"); } mutex_unlock(&ctrl->mutex); }