mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-23 12:10:29 +00:00
Fix reboot to recovery
Change-Id: I1018424587b72091f9b81f2267b52cdd25b94c67
This commit is contained in:
parent
b52f489f7b
commit
bbadbd116d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user