From 02bf9488c8e623d8c1c8a1a97348c13205d9d7a8 Mon Sep 17 00:00:00 2001 From: Adrian Salido-Moreno Date: Sat, 13 Dec 2014 17:17:18 -0800 Subject: [PATCH] msm: mdss: use xlog instead of bug on fetch halt timeout BUG will panic without giving the state of the display hardware at the point where it happens. Instead use XLOG which will provide more details about the hardware and can be disabled to allow recovery sequence to kick in. Change-Id: Id4602394f1096d5f40321c14c4d5af48675468e8 Signed-off-by: Adrian Salido-Moreno --- drivers/video/fbdev/msm/mdss_mdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c index 5162ecc0d990..a2fd7489a6d3 100644 --- a/drivers/video/fbdev/msm/mdss_mdp.c +++ b/drivers/video/fbdev/msm/mdss_mdp.c @@ -3074,7 +3074,7 @@ int mdss_mdp_wait_for_xin_halt(u32 xin_id, bool is_vbif_nrt) if (rc == -ETIMEDOUT) { pr_err("VBIF client %d not halting. TIMEDOUT.\n", xin_id); - BUG(); + MDSS_XLOG_TOUT_HANDLER("mdp", "vbif", "panic"); } else { pr_debug("VBIF client %d is halted\n", xin_id); }