mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
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>
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user