charger: smb345: reduce JEITA hot limit temperature to stop charging

modify hot limit temperature from 55°C  to 45°C  to stop charging

Bug: 11222237
Change-Id: I81bc8d75bba59635d5b136bbf41cf3090d4d2b4f
Signed-off-by: Hank_Lee <Hank_Lee@asus.com>
This commit is contained in:
Hank_Lee 2013-10-15 13:40:20 +08:00 committed by Ed Tam
parent 4cd5190c45
commit f3041f511e

View file

@ -104,8 +104,8 @@
#define WPC_INIT_DET_INTERVAL (22 * HZ)
#define WPC_SET_CURT_LIMIT_CNT 6
#define BAT_Cold_Limit 0
#define BAT_Hot_Limit 55
#define BAT_Mid_Temp_Wired 50
#define BAT_Hot_Limit 45
#define BAT_Mid_Temp_Wired 45
#define BAT_Mid_Temp_Wireless 40
#define FLOAT_VOLT 0x2A
#define FLOAT_VOLT_LOW 0x1E
@ -1095,6 +1095,7 @@ int smb345_config_thermal_charging(int temp, int volt, int rule)
else if (rule == THERMAL_RULE2)
BAT_Mid_Temp = BAT_Mid_Temp_Wireless;
mdelay(100);
smb345_config_thermal_limit();
SMB_NOTICE("temp=%d, volt=%d\n", temp, volt);