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

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

Merge "msm: ADSPRPC: Unregister glink notification handle after SSR"

parents b174cc4b 8f1eebdf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1951,6 +1951,8 @@ static void fastrpc_channel_close(struct kref *kref)
	cid = ctx - &gcinfo[0];
	fastrpc_glink_close(ctx->chan, cid);
	ctx->chan = 0;
	glink_unregister_link_state_cb(ctx->link.link_notify_handle);
	ctx->link.link_notify_handle = 0;
	mutex_unlock(&me->smd_mutex);
	pr_info("'closed /dev/%s c %d %d'\n", gcinfo[cid].name,
						MAJOR(me->dev_no), cid);