Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2ef952c authored by Dhaval Patel's avatar Dhaval Patel Committed by Harsh Sahu
Browse files

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: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent 6f874e20
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);
		}