power: reset: msm: Don't override power off type for GTS210VE

* Doesn't seem to work very well on MM firmware.

Change-Id: Ie292b288a865cf2c1fcc078f3a830705b06d4f22
This commit is contained in:
LuK1337 2017-04-19 16:21:31 +02:00
parent 3cc95210b9
commit 83933e7846
1 changed files with 2 additions and 0 deletions

View File

@ -405,6 +405,7 @@ static void msm_restart_prepare(const char *cmd)
#endif
printk(KERN_NOTICE "%s : warm_reboot_set = %d\n",
__func__, warm_reboot_set);
#ifndef CONFIG_PROJECT_GTS210VE
#ifdef CONFIG_RESTART_REASON_SEC_PARAM
//fixme : Enabling Hard reset
/* Memory contents will be lost when when PMIC is configured for HARD RESET */
@ -418,6 +419,7 @@ static void msm_restart_prepare(const char *cmd)
}
#else
qpnp_pon_system_pwr_off(PON_POWER_OFF_WARM_RESET);
#endif
#endif
pr_info("%s: Flushing the cache content\n",__func__);
flush_cache_all();