From: luodw1 Date: Fri, 12 Apr 2019 12:26:40 +0000 (+0800) Subject: drivers: modify the reboot reason for post-xxx X-Git-Tag: MMI-RSA31.Q1-48-36-11~145 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=969d4a5926cc3c47952622e6be297ea530956d38;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 {