mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
flo: debug: disable DLOAD mode when panic and abnormal reset
Disable download mode on crashes and keep system to continue booting for better user experience. Download mode is useful for collecting ramdump for furhter analysis during stability test. To enable, type next line in the adb shell before stability test echo 1 > /sys/module/restart/parameters/download_mode Change-Id: I08c02dfd42cf28803b78385916f50ea3e42eb7ae Signed-off-by: paris_yeh <paris_yeh@asus.com>
This commit is contained in:
parent
51653ef972
commit
ee0d677158
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ static void *dload_mode_addr;
|
|||
|
||||
/* 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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue