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

Commit acba3f8f 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: acquire list_lock before calling free pipe"

parents 0f2119bd 88af6688
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3213,7 +3213,9 @@ static int mdss_mdp_overlay_off(struct msm_fb_data_type *mfd)

	rc = mdss_mdp_ctl_stop(mdp5_data->ctl);
	if (rc == 0) {
		mutex_lock(&mdp5_data->list_lock);
		__mdss_mdp_overlay_free_list_purge(mfd);
		mutex_unlock(&mdp5_data->list_lock);
		mdss_mdp_ctl_notifier_unregister(mdp5_data->ctl,
				&mfd->mdp_sync_pt_data.notifier);