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

Commit 057e1ca7 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: Sanitize overlay kickoff inputs"

parents 05843922 5afeaf87
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1146,6 +1146,11 @@ int mdss_mdp_overlay_kickoff(struct msm_fb_data_type *mfd,
	int ret = 0;
	int sd_in_pipe = 0;

	if (!ctl) {
		pr_warn("kickoff on fb=%d without a ctl attched\n", mfd->index);
		return ret;
	}

	if (ctl->shared_lock)
		mutex_lock(ctl->shared_lock);