BZ: 33090
When shutting down with AC charger connected shall shutdown instead of
resetting in Charging Mode in Redridge.
mfdl.c function intel_mid_power_off has to be modified for NOT resettin when
charger is plugged in.
Change-Id: I2207621d16f508007c66334f4ee8ecb0efb8ec94
Signed-off-by: Gabriel Touzeau <gabrielx.touzeau@intel.com>
Reviewed-on: http://android.intel.com:8080/47493
Reviewed-by: Romieu, Benoit <benoit.romieu@intel.com>
Tested-by: Romieu, Benoit <benoit.romieu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
void intel_mid_power_off(void)
{
-#ifdef CONFIG_INTEL_MID_OSIP
+#if defined(CONFIG_INTEL_MID_OSIP) && !defined(CONFIG_BOARD_REDRIDGE)
if (!get_force_shutdown_occured() &&
power_supply_is_system_supplied()) {
/*