mako: debug: disable lge_crash_handler
disable lge_crash_handler and enable subsystem_restart
defaultly. lge_crash_handler should be enabled before
stability test. to enable, type next line in the adb shell.
echo 1 > /sys/module/restart/parameters/download_mode
Change-Id: I36eab62ae9bdf3d194e0c0e98ce2b3ecd118572b
diff --git a/arch/arm/mach-msm/restart.c b/arch/arm/mach-msm/restart.c
index c12f39c..6b5bcfd 100644
--- a/arch/arm/mach-msm/restart.c
+++ b/arch/arm/mach-msm/restart.c
@@ -65,7 +65,7 @@
/* Download mode master kill-switch */
static int dload_set(const char *val, struct kernel_param *kp);
-static int download_mode = 1;
+static int download_mode = 0;
module_param_call(download_mode, dload_set, param_get_int,
&download_mode, 0644);
diff --git a/arch/arm/mach-msm/subsystem_restart.c b/arch/arm/mach-msm/subsystem_restart.c
index cadc762..42c1feb 100644
--- a/arch/arm/mach-msm/subsystem_restart.c
+++ b/arch/arm/mach-msm/subsystem_restart.c
@@ -647,7 +647,7 @@
static int __init subsys_restart_init(void)
{
- restart_level = RESET_SOC;
+ restart_level = RESET_SUBSYS_INDEPENDENT;
ssr_wq = alloc_workqueue("ssr_wq", 0, 0);