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

This reverts commit 83933e7846.
This commit is contained in:
LuK1337 2017-04-20 13:32:11 +02:00
parent 83933e7846
commit 2a649dacb5
1 changed files with 0 additions and 2 deletions

View File

@ -405,7 +405,6 @@ 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 */
@ -419,7 +418,6 @@ 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();