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

Commit c96ab25e authored by Tharun Kumar Merugu's avatar Tharun Kumar Merugu
Browse files

msm: ADSPRPC: handle context save interrupt



Avoid freeing the session buffers as it frees the
other session context buffers.

change-Id: Id24698e4abcc6b47e21dfd99c47c4b933b1faafc
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent 4090fc55
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1179,8 +1179,6 @@ static void context_save_interrupted(struct smq_invoke_ctx *ctx)
	hlist_del_init(&ctx->hn);
	hlist_add_head(&ctx->hn, &clst->interrupted);
	spin_unlock(&ctx->fl->hlock);
	/* free the cache on power collapse */
	fastrpc_buf_list_free(ctx->fl);
}

static void context_free(struct smq_invoke_ctx *ctx)