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

Commit 042572b0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: remove clk off scheduling when commit pending"

parents 4b30e4ad 2577d176
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -861,8 +861,11 @@ int mdss_mdp_resource_control(struct mdss_mdp_ctl *ctl, u32 sw_event)
		 * 1. Early wakeup cancelled the gate work.
		 * 2. Early wakeup cancelled the off work.
		 * 3. Early wakeup changed the state to ON.
		 *
		 * Driver will not allow off work under one condition:
		 * 1. Kickoff is pending.
		 */
		if (schedule_off) {
		if (schedule_off && !ctl->mfd->validate_pending) {
			/*
			 * Schedule off work after cmd mode idle timeout is
			 * reached. This is to prevent the case where early wake