M0 : charging : Make to charge battery fully.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Wed, 16 Oct 2013 10:42:19 +0000 (19:42 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:58 +0000 (11:44 +0900)
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
drivers/power/charger-manager.c
drivers/power/max77693_charger.c

index 2d5867d..5c6fb10 100644 (file)
@@ -1521,7 +1521,7 @@ static struct charger_desc cm_drv_data = {
        .polling_interval_ms    = 30000,
        .fullbatt_vchkdrop_ms   = 30000,
        .fullbatt_vchkdrop_uV   = 150000,
-       .fullbatt_uV            = 4200000,
+       .fullbatt_uV            = 0,
        .fullbatt_soc           = 100,
        .fullbatt_full_capacity = 0,
 
index 87475e5..058046f 100644 (file)
@@ -338,7 +338,7 @@ static void max77693_charger_reg_init(struct max77693_charger_data *chg_data)
         * MINVSYS 3.6V(default)
         */
        max77693_update_reg(rmap, MAX77693_CHG_REG_CHG_CNFG_04,
-                       MAX77693_CHG_CV_PRM_4_35V, MAX77693_CHG_MINVSYS_MASK);
+                       MAX77693_CHG_CV_PRM_4_35V, MAX77693_CHG_CV_PRM_MASK);
 
        /* VBYPSET 5V */
        max77693_write_reg(rmap, MAX77693_CHG_REG_CHG_CNFG_11,