msm: charm: Wake up the external modem when panicking
In order for the external modem to properly respond to
a panic, it must be out of low power mode. Ensure the
external modem is woken up before leaving the panic
handler.
CRs-Fixed: 303416
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/arch/arm/mach-msm/mdm.c b/arch/arm/mach-msm/mdm.c
index e2ff0da..13cac2e 100644
--- a/arch/arm/mach-msm/mdm.c
+++ b/arch/arm/mach-msm/mdm.c
@@ -119,6 +119,7 @@
__func__);
charm_disable_irqs();
gpio_set_value(AP2MDM_ERRFATAL, 1);
+ gpio_set_value(AP2MDM_WAKEUP, 1);
return NOTIFY_DONE;
}