From 5ca0bcf14fb2a51f591b113359b0660577a10afd Mon Sep 17 00:00:00 2001 From: Shivaraj Shetty Date: Tue, 13 Jan 2015 13:40:18 +0530 Subject: [PATCH] msm: mdss: skip ESD check during continuous splash Running ESD check during continuous splash will show false ESD failures. Do not check panel status until the continuous splash is done. Change-Id: I14a74feb0b7f5beb7c690d1c4c9a3c37354abe25 Signed-off-by: Shivaraj Shetty --- drivers/video/fbdev/msm/dsi_status_v2.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbdev/msm/dsi_status_v2.c b/drivers/video/fbdev/msm/dsi_status_v2.c index ad60031d58b0..58e240234368 100644 --- a/drivers/video/fbdev/msm/dsi_status_v2.c +++ b/drivers/video/fbdev/msm/dsi_status_v2.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -66,6 +66,13 @@ void mdp3_check_dsi_ctrl_status(struct work_struct *work, return; } + if (mdp3_session->in_splash_screen) { + schedule_delayed_work(&pdsi_status->check_status, + msecs_to_jiffies(interval)); + pr_debug("%s: cont splash is on\n", __func__); + return; + } + mutex_lock(&mdp3_session->lock); if (!mdp3_session->status) { pr_debug("%s: display off already\n", __func__);