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:
parent
3cc95210b9
commit
83933e7846
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue