From c4e921071d3a65dcf7b4dbe3abd981e206f41e3a Mon Sep 17 00:00:00 2001 From: Jeya R Date: Fri, 14 Aug 2020 14:43:27 +0530 Subject: [PATCH] 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 Signed-off-by: Jeya R --- drivers/char/adsprpc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index 5b10a1676289..92f3c0f9b256 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -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 &&