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

Commit 593b8e5d 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: Put back the process refcount"

parents 531102dc b1273894
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -569,8 +569,10 @@ int kgsl_context_init(struct kgsl_device_private *dev_priv,
	context->tid = task_pid_nr(current);

	ret = kgsl_sync_timeline_create(context);
	if (ret)
	if (ret) {
		kgsl_process_private_put(dev_priv->process_priv);
		goto out;
	}

	snprintf(name, sizeof(name), "context-%d", id);
	kgsl_add_event_group(&context->events, context, name,