msm: smd: Clear Apps SMSM_RESET for Subsytem Restart
The restart code expects the Apps to clear the SMSM_RESET
bit in AFTER_SHUTDOWN to prevent duplicate restart
notifications for forced restarts.
CRs-Fixed: 329757
Change-Id: Ifd3de0746253947b078c8d9627f075be312c0def
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index b31550a..514f817 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -667,7 +667,8 @@
/* restart SMSM init handshake */
if (restart_pid == SMSM_MODEM) {
smsm_change_state(SMSM_APPS_STATE,
- SMSM_INIT | SMSM_SMD_LOOPBACK, 0);
+ SMSM_INIT | SMSM_SMD_LOOPBACK | SMSM_RESET,
+ 0);
}
/* notify SMSM processors */