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

Commit 02260769 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: sde: Avoid NULL pointer dereference in cancel request"

parents 72f633e1 354fae1e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2003,7 +2003,9 @@ static void sde_rotator_cancel_request(struct sde_rot_mgr *mgr,
		sde_rot_mgr_unlock(mgr);
		for (i = req->count - 1; i >= 0; i--) {
			entry = req->entries + i;
			if (entry->commitq)
				flush_kthread_worker(&entry->commitq->rot_kw);
			if (entry->doneq)
				flush_kthread_worker(&entry->doneq->rot_kw);
		}
		sde_rot_mgr_lock(mgr);