Loading drivers/power/reset/msm-poweroff.c +3 −2 Original line number Diff line number Diff line /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -287,7 +287,8 @@ static void msm_restart_prepare(const char *cmd) need_warm_reset = true; } else { need_warm_reset = (get_dload_mode() || (cmd != NULL && cmd[0] != '\0')); ((cmd != NULL && cmd[0] != '\0') && strcmp(cmd, "userrequested"))); } /* Hard reset the PMIC unless memory contents must be maintained. */ Loading Loading
drivers/power/reset/msm-poweroff.c +3 −2 Original line number Diff line number Diff line /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -287,7 +287,8 @@ static void msm_restart_prepare(const char *cmd) need_warm_reset = true; } else { need_warm_reset = (get_dload_mode() || (cmd != NULL && cmd[0] != '\0')); ((cmd != NULL && cmd[0] != '\0') && strcmp(cmd, "userrequested"))); } /* Hard reset the PMIC unless memory contents must be maintained. */ Loading