commit | 47cdaad8eac601f91addbbadc01f95b8282b3e64 | [log] [tgz] |
---|---|---|
author | Animesh Kishore <animeshk@codeaurora.org> | Mon Jul 09 20:32:06 2018 +0530 |
committer | Animesh Kishore <animeshk@codeaurora.org> | Fri Aug 03 01:53:29 2018 +0530 |
tree | b62e72d7c3c391d769252d2ec47e143e6b602c9c | |
parent | fc04d93a6f541fa47cc0efc03b24aab4eceb2cce [diff] |
mdss: mdp: Check for null pointer before access Check for null pointer before proceeding with register dump. Change-Id: Ic7785045676c8d73c065414a5470ea5dfb26936a Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
diff --git a/drivers/video/fbdev/msm/mdss_mdp_debug.c b/drivers/video/fbdev/msm/mdss_mdp_debug.c index bd4ee23..e7bd94a 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_debug.c +++ b/drivers/video/fbdev/msm/mdss_mdp_debug.c
@@ -1140,7 +1140,7 @@ struct mdss_mdp_pipe *pipe; int i, cnt = 0; - if (!mixer) + if (!mixer || !mfd) return; seq_printf(s, "\n%s Mixer #%d res=%dx%d roi[%d, %d, %d, %d] %s\n",