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

Commit 7a180876 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: disable irq to enforce mutex within dsi_event_thread"

parents a877510f d925caec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1352,11 +1352,11 @@ static int dsi_event_thread(void *data)
		}

		if (todo & DSI_EV_MDP_BUSY_RELEASE) {
			spin_lock(&ctrl->mdp_lock);
			spin_lock_irqsave(&ctrl->mdp_lock, flag);
			ctrl->mdp_busy = false;
			mdss_dsi_disable_irq_nosync(ctrl, DSI_MDP_TERM);
			complete(&ctrl->mdp_comp);
			spin_unlock(&ctrl->mdp_lock);
			spin_unlock_irqrestore(&ctrl->mdp_lock, flag);

			/* enable dsi error interrupt */
			mdss_dsi_err_intr_ctrl(ctrl, DSI_INTR_ERROR_MASK, 1);