Troika do not support
turbo charger rate
Change-Id: I77671320b8b30c36285d7448d0f2bc21539477c0
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1342646
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
battery->charger_rate = POWER_SUPPLY_CHARGE_RATE_NONE;
return;
}
-
+#if defined(CONFIG_SMALL_CHARGER)
if(battery->cable_type == POWER_SUPPLY_TYPE_HV_MAINS ||
battery->cable_type == POWER_SUPPLY_TYPE_USB_PD ||
battery->cable_type == POWER_SUPPLY_TYPE_PREPARE_TA ||
battery->charger_rate = POWER_SUPPLY_CHARGE_RATE_TURBO;
else
battery->charger_rate = POWER_SUPPLY_CHARGE_RATE_NORMAL;
-
+#else
+ battery->charger_rate = POWER_SUPPLY_CHARGE_RATE_NORMAL;
+#endif
if(prev_chg_rate != battery->charger_rate)
printk(KERN_ERR "%s,charge_rate:%s\n",__func__,charge_rate[battery->charger_rate]);
}