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

Commit 75dc5fd7 authored by Shivaraj Shetty's avatar Shivaraj Shetty Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarShivaraj Shetty <shivaraj@codeaurora.org>
parent d6415d1a
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
/* 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__);