Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9393f0d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: reset: Add qcom_dload command to poweroff driver"

parents 158a6ac6 e64ad268
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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));