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

Commit ea791372 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: Move mutex lock outside esd status check"

parents c8c0a09b d8a98377
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,12 +138,12 @@ void mdp3_check_dsi_ctrl_status(struct work_struct *work,

	if (mdp3_session->wait_for_dma_done)
		ret = mdp3_session->wait_for_dma_done(mdp3_session);
	mutex_unlock(&mdp3_session->lock);

	if (!ret)
		ret = ctrl_pdata->check_status(ctrl_pdata);
	else
		pr_err("%s: wait_for_dma_done error\n", __func__);
	mutex_unlock(&mdp3_session->lock);

	if (mdss_fb_is_power_on_interactive(pdsi_status->mfd)) {
		if (ret > 0)