From: luodw1 Date: Fri, 12 Apr 2019 12:26:40 +0000 (+0800) Subject: drivers: modify the reboot reason for post-xxx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6dad84db8c99498f5b7de70c7f713f8b696b9bb4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers: modify the reboot reason for post-xxx Change-Id: I0131a118df41a5910d4086059204d22899f5efbc Signed-off-by: luodw1 Reviewed-on: https://gerrit.mot.com/1336274 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/drivers/soc/samsung/exynos-reboot.c b/drivers/soc/samsung/exynos-reboot.c index a24c61f455ab..e1b762415f93 100644 --- a/drivers/soc/samsung/exynos-reboot.c +++ b/drivers/soc/samsung/exynos-reboot.c @@ -344,11 +344,11 @@ static void exynos_reboot(enum reboot_mode mode, const char *cmd) restart_reason); } } else if (!strncmp(cmd, "post-wdt", 8)) { - __raw_writel(0x77665508, restart_reason); + __raw_writel(0x77665518, restart_reason); } else if (!strncmp(cmd, "post-pmicwdt", 12)) { - __raw_writel(0x77665507, restart_reason); + __raw_writel(0x77665517, restart_reason); } else if (!strncmp(cmd, "post-panic", 10)) { - __raw_writel(0x77665506, restart_reason); + __raw_writel(0x77665516, restart_reason); } else if (!strncmp(cmd, "panic", 5)) { __raw_writel(0x77665505, restart_reason); } else {