mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
bd9995x: Do not set IADP monitoring enable bit
IADP monitoring bit was set to the default value for the devices with an RO image which clears the bit (and causes the issue). This patch removes the code so that we do not touch the IADP monitoring bit since transitioning from 0->1 may cause other issues. BUG=b:35647661 BRANCH=reef TEST=none Change-Id: I4413e0bd2de3f4e3912cbe6e73b8cad641ee9245 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/453400 Reviewed-by: Shawn N <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/453798
This commit is contained in:
committed by
chrome-bot
parent
2784e922ae
commit
584cd06c9c
@@ -796,14 +796,6 @@ static void bd9995x_init(void)
|
||||
ch_raw_write16(BD9995X_CMD_CHGOP_SET2, reg,
|
||||
BD9995X_EXTENDED_COMMAND);
|
||||
|
||||
/* Disable IADP pin current limit */
|
||||
if (ch_raw_read16(BD9995X_CMD_VM_CTRL_SET, ®,
|
||||
BD9995X_EXTENDED_COMMAND))
|
||||
return;
|
||||
reg &= ~BD9995X_CMD_VM_CTRL_SET_EXTIADPEN;
|
||||
ch_raw_write16(BD9995X_CMD_VM_CTRL_SET, reg,
|
||||
BD9995X_EXTENDED_COMMAND);
|
||||
|
||||
/* Define battery charging profile */
|
||||
bd9995x_battery_charging_profile_settings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user