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

Commit 7e26d22d 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: wait for idle when wait for kickoff not available"

parents df01c594 e33281a0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2505,6 +2505,9 @@ static int mdss_fb_wait_for_kickoff(struct msm_fb_data_type *mfd)
{
	int ret = 0;

	if (!mfd->wait_for_kickoff)
		return mdss_fb_pan_idle(mfd);

	ret = wait_event_timeout(mfd->kickoff_wait_q,
			(!atomic_read(&mfd->kickoff_pending) ||
			 mfd->shutdown_pending),