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

Commit 26d7ef16 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: release rotator fence on kickoff failure"

parents 71e15a53 c9729bb8
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -302,18 +302,15 @@ static void mdss_mdp_rotator_commit_wq_handler(struct work_struct *work)
	mutex_lock(&rotator_lock);

	ret = mdss_mdp_rotator_queue_helper(rot);
	if (ret) {
	if (ret)
		pr_err("rotator queue failed\n");
		mutex_unlock(&rotator_lock);
		return;
	}

	if (rot->rot_sync_pt_data) {
		atomic_inc(&rot->rot_sync_pt_data->commit_cnt);

	if (rot->rot_sync_pt_data)
		mdss_fb_signal_timeline(rot->rot_sync_pt_data);
	else
	} else {
		pr_err("rot_sync_pt_data is NULL\n");
	}

	mutex_unlock(&rotator_lock);
}