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

Commit 8734248f 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: wake up threads relying on shutdown notice"

parents 1a92ea62 3fbcbd56
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -799,6 +799,11 @@ static void mdss_fb_shutdown(struct platform_device *pdev)
	struct msm_fb_data_type *mfd = platform_get_drvdata(pdev);

	mfd->shutdown_pending = true;

	/* wake up threads waiting on idle or kickoff queues */
	wake_up_all(&mfd->idle_wait_q);
	wake_up_all(&mfd->kickoff_wait_q);

	lock_fb_info(mfd->fbi);
	mdss_fb_release_all(mfd->fbi, true);
	sysfs_notify(&mfd->fbi->dev->kobj, NULL, "show_blank_event");