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

Commit 4f93b7a5 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: fix deadlock between commit thread and shutdown"

parents 696f2c28 b18ceed3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2135,6 +2135,10 @@ static int mdss_fb_release_all(struct fb_info *info, bool release_all)
			pm_runtime_put(info->dev);
		} while (release_all && pinfo->ref_cnt);

		/* we need to stop display thread before release */
		if (release_all && mfd->disp_thread)
			mdss_fb_stop_disp_thread(mfd);

		if (pinfo->ref_cnt == 0) {
			list_del(&pinfo->list);
			kfree(pinfo);