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

Commit ac643925 authored by Tharun Kumar Merugu's avatar Tharun Kumar Merugu Committed by Gerrit - the friendly Code Review server
Browse files

msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR



Unmap remote heap buffer only for ADSP SSR, as remote heap
feature is available only on ADSP.

Change-Id: I9abff20cfdcc4588a3a377e73d38d3ea91316d25
Acked-by: default avatarHimateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent 13feb4f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2673,7 +2673,7 @@ static int fastrpc_channel_open(struct fastrpc_file *fl)
		pr_info("'opened /dev/%s c %d %d'\n", gcinfo[cid].name,
						MAJOR(me->dev_no), cid);

		if (me->channel[cid].ssrcount !=
		if (cid == ADSP_DOMAIN_ID && me->channel[cid].ssrcount !=
				 me->channel[cid].prevssrcount) {
			mutex_lock(&fl->map_mutex);
			if (fastrpc_mmap_remove_ssr(fl))