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

Commit c5751be2 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: Unmap remote heap buffer only for ADSP SSR"

parents 85cd9a2a f31aa278
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2416,7 +2416,7 @@ static int fastrpc_channel_open(struct fastrpc_file *fl)
		kref_init(&me->channel[cid].kref);
		pr_info("'opened /dev/%s c %d %d'\n", gcinfo[cid].name,
						MAJOR(me->dev_no), cid);
		if (me->channel[cid].ssrcount !=
		if (cid == 0 && me->channel[cid].ssrcount !=
				 me->channel[cid].prevssrcount) {
			if (fastrpc_mmap_remove_ssr(fl))
				pr_err("ADSPRPC: SSR: Failed to unmap remote heap\n");