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

Commit f1f5bd31 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: Free contexts for current channel"

parents 4737cd3c 28d98977
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1663,7 +1663,8 @@ static int fastrpc_device_release(struct inode *inode, struct file *file)
		ctxfree = 0;
		spin_lock(&clst->hlock);
		hlist_for_each_entry_safe(ictx, n, &clst->interrupted, hn) {
			if (ictx->tgid == current->tgid) {
			if ((ictx->tgid == current->tgid) &&
				(ictx->fdata->cid == cid)) {
				hlist_del(&ictx->hn);
				ctxfree = ictx;
				break;