summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/cpcap-charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/cpcap-charger.c')
-rw-r--r--drivers/power/supply/cpcap-charger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap-charger.c
index 378fbdaba85b..26a2dc7ac9a2 100644
--- a/drivers/power/supply/cpcap-charger.c
+++ b/drivers/power/supply/cpcap-charger.c
@@ -434,8 +434,7 @@ static void cpcap_usb_detect(struct work_struct *work)
error = cpcap_charger_set_state(ddata,
CPCAP_REG_CRM_VCHRG_4V35,
- max_current,
- CPCAP_REG_CRM_TR_0A72);
+ max_current, 0);
if (error)
goto out_err;
} else {
OpenPOWER on IntegriCloud