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

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

msm: ADSPRPC: Error handling during pd restart



Bail during static pd creation, if we failed to unmap memory
during audiopd restart.

Change-Id: Idcaf2f57c6a1e3ab3af7382c023a62bfeed1d95e
Acked-by: default avatarVishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent 6304c587
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2107,6 +2107,8 @@ static int fastrpc_init_process(struct fastrpc_file *fl,
		if (!strcmp(proc_name, "audiopd")) {
			fl->spdname = AUDIO_PDR_SERVICE_LOCATION_CLIENT_NAME;
			VERIFY(err, !fastrpc_mmap_remove_pdr(fl));
			if (err)
				goto bail;
		}

		if (!me->staticpd_flags && !(me->legacy_remote_heap)) {