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 <shivaraj@codeaurora.org>
This commit is contained in:
Shivaraj Shetty 2015-01-13 13:40:18 +05:30 committed by David Keitel
parent de2c65cd7b
commit 5ca0bcf14f

View file

@ -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__);