power: pm8921: consideration of ibat max overwrite

The thermal mitigation and battery temp control can overwrite
the ibat max value each other. So this patch remove the possibility
of overwrite ibat max value by mitigation and battery temp control.

Change-Id: Ib0f7bf2b8bd2e474d1d9c76bd5100b05310cb048
This commit is contained in:
choongryeol.lee
2012-08-25 00:15:42 -07:00
committed by Iliyan Malchev
parent 58a482fbef
commit 4e4f4dabfd
2 changed files with 15 additions and 4 deletions

View File

@@ -295,7 +295,7 @@ int pm8921_is_batfet_closed(void);
int set_wireless_power_supply_control(int value);
#endif
int pm8921_set_ext_battery_health(int health);
int pm8921_set_ext_battery_health(int health, int i_limit);
#else
static inline void pm8921_charger_vbus_draw(unsigned int mA)