Loading drivers/power/reset/msm-poweroff.c +9 −1 Original line number Diff line number Diff line /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2019, 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 @@ -190,6 +190,11 @@ static int dload_set(const char *val, const struct kernel_param *kp) int old_val = download_mode; if (!download_mode) { pr_err("Error: SDI dynamic enablement is not supported\n"); return -EINVAL; } ret = param_set_int(val, kp); if (ret) Loading @@ -203,6 +208,9 @@ static int dload_set(const char *val, const struct kernel_param *kp) set_dload_mode(download_mode); if (!download_mode) scm_disable_sdi(); return 0; } #else Loading Loading
drivers/power/reset/msm-poweroff.c +9 −1 Original line number Diff line number Diff line /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2019, 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 @@ -190,6 +190,11 @@ static int dload_set(const char *val, const struct kernel_param *kp) int old_val = download_mode; if (!download_mode) { pr_err("Error: SDI dynamic enablement is not supported\n"); return -EINVAL; } ret = param_set_int(val, kp); if (ret) Loading @@ -203,6 +208,9 @@ static int dload_set(const char *val, const struct kernel_param *kp) set_dload_mode(download_mode); if (!download_mode) scm_disable_sdi(); return 0; } #else Loading