From cfd44286e54c8f605f4c7284864508e33d946ae0 Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Tue, 6 Dec 2016 15:10:15 -0800 Subject: qcom-charger: smblib: drop the BOOST PFM Threshold change The original change to set 200mV boost PFM threshold at request of a HW workaround is no longer needed, set as default now in SBL. Remove it. CRs-Fixed: 1095917 Change-Id: I4e041dafa83d935a5c16c96bea7a3ea488e80d87 Signed-off-by: Harry Yang --- drivers/power/qcom-charger/smb-lib.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/power/qcom-charger/smb-lib.c b/drivers/power/qcom-charger/smb-lib.c index 507704dd469a..f1380af1bfa1 100644 --- a/drivers/power/qcom-charger/smb-lib.c +++ b/drivers/power/qcom-charger/smb-lib.c @@ -780,16 +780,6 @@ static int smblib_otg_cl_config(struct smb_charger *chg, int otg_cl_ua) return rc; } - /* configure PFM/PWM mode for OTG regulator */ - rc = smblib_masked_write(chg, DC_ENG_SSUPPLY_CFG3_REG, - ENG_SSUPPLY_CFG_SKIP_TH_V0P2_BIT, - otg_cl_ua > MICRO_250MA ? 1 : 0); - if (rc < 0) { - smblib_err(chg, - "Couldn't write DC_ENG_SSUPPLY_CFG3_REG rc=%d\n", rc); - return rc; - } - return rc; } -- cgit v1.2.3