From 48d2c2835af4e3063b9be727936553d35e35478a Mon Sep 17 00:00:00 2001 From: mahj8 Date: Wed, 10 Nov 2021 09:32:11 +0800 Subject: [PATCH] charging: enable ILIM pin for bq25890H As DVT1 HW ready, so re-enable ILIM pin and remove MMI_STOPSHIP for bq25890H Change-Id: I2f07b880a082598c0e6bb1b63d9bb62b764f4dc8 Signed-off-by: mahj8 Reviewed-on: https://gerrit.mot.com/2111606 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Shicheng Gong Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- drivers/power/bq2589x_chg_mmi/bq2589x_charger.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/power/bq2589x_chg_mmi/bq2589x_charger.c b/drivers/power/bq2589x_chg_mmi/bq2589x_charger.c index 119039364ac1..9367d496e644 100644 --- a/drivers/power/bq2589x_chg_mmi/bq2589x_charger.c +++ b/drivers/power/bq2589x_chg_mmi/bq2589x_charger.c @@ -2384,8 +2384,7 @@ static int bq2589x_charger_probe(struct i2c_client *client, if (ret) goto err_0; - /*MMI_STOPSHIP PMIC:add disable ILIM pin because of hw is not ready */ - bq2589x_set_ilim_enable(bq, false); + bq2589x_set_ilim_enable(bq, true); INIT_WORK(&bq->irq_work, bq2589x_charger_irq_workfunc); INIT_DELAYED_WORK(&bq->monitor_work, bq2589x_monitor_workfunc);