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

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

msm: adsprpc: do not free cached session buffers on power collapse



Avoid freeing the cached session buffers on power collapse as it
frees the other session context buffers.

Change-Id: If8f2fb1d9c63329e1a4635f7a56c3367c9d3004e
Acked-by: default avatarThyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent cbf2565c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1215,8 +1215,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_cached_buf_list_free(ctx->fl);
}

static void context_free(struct smq_invoke_ctx *ctx)