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

Commit 6033a823 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ADSPRPC: Don't assign adsp_mem to modem"

parents be4365a8 46d61435
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -4126,16 +4126,15 @@ static int fastrpc_probe(struct platform_device *pdev)
		if (range.addr && !of_property_read_bool(dev->of_node,
							 "restrict-access")) {
			int srcVM[1] = {VMID_HLOS};
			int destVM[4] = {VMID_HLOS, VMID_MSS_MSA, VMID_SSC_Q6,
			int destVM[3] = {VMID_HLOS, VMID_SSC_Q6,
						VMID_ADSP_Q6};
			int destVMperm[4] = {PERM_READ | PERM_WRITE | PERM_EXEC,
				PERM_READ | PERM_WRITE | PERM_EXEC,
			int destVMperm[3] = {PERM_READ | PERM_WRITE | PERM_EXEC,
				PERM_READ | PERM_WRITE | PERM_EXEC,
				PERM_READ | PERM_WRITE | PERM_EXEC,
				};

			VERIFY(err, !hyp_assign_phys(range.addr, range.size,
					srcVM, 1, destVM, destVMperm, 4));
					srcVM, 1, destVM, destVMperm, 3));
			if (err)
				goto bail;
			me->range.addr = range.addr;