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

Commit 52ec5cd8 authored by Mohammed Nayeem Ur Rahman's avatar Mohammed Nayeem Ur Rahman
Browse files

msm: adsprpc: Race conditions when handling the ADSP SSR



Removed marking the static process is closed
in ADSP SSR call back. Any way, this is
handled during the PDR callback.

Change-Id: I4406ad7559ef5222e8d78b545dfde0168c513eae
Acked-by: default avatarTadakamalla Krishnaiah <ktadakam@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Nayeem Ur Rahman <mohara@codeaurora.org>
parent 7234d852
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4530,8 +4530,6 @@ static int fastrpc_restart_notifier_cb(struct notifier_block *nb,
		ctx->ssrcount++;
		ctx->issubsystemup = 0;
		mutex_unlock(&me->channel[cid].smd_mutex);
		if (cid == RH_CID)
			me->staticpd_flags = 0;
	} else if (code == SUBSYS_RAMDUMP_NOTIFICATION) {
		if (cid == RH_CID) {
			if (me->channel[RH_CID].rh_dump_dev &&