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

Commit 3ac5d32f authored by Mohammed Nayeem Ur Rahman's avatar Mohammed Nayeem Ur Rahman
Browse files

msm: ADSPRPC: Update correct VA to user space



Update correct VA to user space, so that during unmap VA will be
matched and memory is freed.

Change-Id: I22d7940b0526db96e47fdf634ada63449f4f2d3f
Acked-by: default avatarHimateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Nayeem Ur Rahman <mohara@codeaurora.org>
parent e980f66b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2734,6 +2734,7 @@ static int fastrpc_internal_mmap(struct fastrpc_file *fl,
			goto bail;
		map->raddr = raddr;
	}
	ud->vaddrout = raddr;
 bail:
	if (err && map) {
		mutex_lock(&fl->fl_map_mutex);