Fix reboot to recovery

Change-Id: I1018424587b72091f9b81f2267b52cdd25b94c67
This commit is contained in:
Nickolay Semendyaev 2017-01-28 20:43:54 +06:00 committed by Chirayu Desai
parent b52f489f7b
commit bbadbd116d

View File

@ -236,7 +236,7 @@ static void msm_restart_prepare(const char *cmd)
} else if (!strncmp(cmd, "recovery", 8)) {
qpnp_pon_set_restart_reason(
PON_RESTART_REASON_RECOVERY);
__raw_writel(0x77665502, restart_reason);
__raw_writel(0x6f656d46, restart_reason); // oem-46
} else if (!strcmp(cmd, "rtc")) {
qpnp_pon_set_restart_reason(
PON_RESTART_REASON_RTC);