msm: lpass-8960: Panic for cases where subsystem restart won't work
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
diff --git a/arch/arm/mach-msm/lpass-8960.c b/arch/arm/mach-msm/lpass-8960.c
index 9a19310..0f2559e 100644
--- a/arch/arm/mach-msm/lpass-8960.c
+++ b/arch/arm/mach-msm/lpass-8960.c
@@ -46,7 +46,7 @@
{
pr_err("%s %s: Watchdog bite received from Q6!\n", MODULE_NAME,
__func__);
- subsystem_restart("lpass");
+ panic(MODULE_NAME ": Resetting the SoC");
}
static void lpass_smsm_state_cb(void *data, uint32_t old_state,
@@ -60,7 +60,7 @@
pr_err("%s: LPASS SMSM state changed to SMSM_RESET,"
" new_state = 0x%x, old_state = 0x%x\n", __func__,
new_state, old_state);
- subsystem_restart("lpass");
+ panic(MODULE_NAME ": Resetting the SoC");
}
}