summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorphilipchen <philipchen@google.com>2016-09-25 15:22:56 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-26 22:16:51 -0700
commit98541217dfd5f0a3fa29db27c4469c6de26842f3 (patch)
tree94a349c77f10e665f2676471cb14e72f35365782 /driver
parent5a6bb19a889f5b7fa5f4b590aba5893bee9d5452 (diff)
downloadchrome-ec-98541217dfd5f0a3fa29db27c4469c6de26842f3.tar.gz
bd9995x: Disable fast/pre-charging watchdog timer
BUG=chrome-os-partner:55771 BRANCH=none TEST=make -j buildall TEST=bd9995x r 0x0f 1; verify 0x00. Change-Id: Ibfca44599b8a6d631215b2c9a50e810312559f3a Reviewed-on: https://chromium-review.googlesource.com/388819 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/charger/bd9995x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/charger/bd9995x.c b/driver/charger/bd9995x.c
index 0dd5da99de..ff65d8b251 100644
--- a/driver/charger/bd9995x.c
+++ b/driver/charger/bd9995x.c
@@ -684,8 +684,8 @@ static void bd99995_init(void)
ch_raw_write16(BD9995X_CMD_VM_CTRL_SET, reg,
BD9995X_EXTENDED_COMMAND);
- /* Set fast charging watchdog to 1020 minutes. */
- ch_raw_write16(BD9995X_CMD_CHGWDT_SET, 0xFF10,
+ /* Disable fast/pre-charging watchdog */
+ ch_raw_write16(BD9995X_CMD_CHGWDT_SET, 0,
BD9995X_EXTENDED_COMMAND);
/* Set charge termination current to 0 mA. */