mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "power: reset: Add qcom_dload command to poweroff driver"
This commit is contained in:
commit
d9393f0de2
1 changed files with 3 additions and 0 deletions
|
|
@ -402,6 +402,9 @@ static void msm_restart_prepare(const char *cmd)
|
|||
* Kill download mode if master-kill switch is set
|
||||
*/
|
||||
|
||||
if (cmd != NULL && !strcmp(cmd, "qcom_dload"))
|
||||
restart_mode = RESTART_DLOAD;
|
||||
|
||||
set_dload_mode(download_mode &&
|
||||
(in_panic || restart_mode == RESTART_DLOAD));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue