From 6ab154134e1870cb3beef5e67fdacab975d94927 Mon Sep 17 00:00:00 2001 From: luodw1 Date: Fri, 12 Apr 2019 20:26:40 +0800 Subject: [PATCH] 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 --- drivers/soc/samsung/exynos-reboot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.20.1