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

Commit 99131b7d 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: check for fb node refcount before calling null commit"

parents f98fc1b2 af2cfd60
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1521,8 +1521,8 @@ static int __mdss_mdp_overlay_release_all(struct msm_fb_data_type *mfd,
		}
	}

	if (cnt == 0 && !list_empty(&mdp5_data->pipes_cleanup)) {
		pr_debug("overlay release on fb%d called without commit!",
	if (!mfd->ref_cnt && !list_empty(&mdp5_data->pipes_cleanup)) {
		pr_debug("fb%d:: free pipes present in cleanup list",
			mfd->index);
		cnt++;
	}