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

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

Merge "msm: kgsl: Adds NULL check for drawctxt ops"

parents ea987ebc f55c823c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -553,7 +553,7 @@ int adreno_drawctxt_detach(struct kgsl_context *context)

	adreno_profile_process_results(device);

	if (drawctxt->ops->detach)
	if (drawctxt->ops && drawctxt->ops->detach)
		drawctxt->ops->detach(drawctxt);

	/* wake threads waiting to submit commands from this context */