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: Idcc358a972546f93cb8e7cd5e28d446e7fd632e1
Acked-by: Nishant Chaubey <chaubey@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
This commit is contained in:
Jeya R 2020-08-14 14:43:27 +05:30
commit c4e921071d

View file

@ -5796,8 +5796,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 &&