mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Revert "Extend TSU6721 BCD timer to 3.6 seconds"
This reverts commit 6759fdc3e6.
Extending TSU6721 BCD timer causes problems on Apple charger detection.
BUG=chrome-os-partner:19765
TEST=Check Apple charger detection and over-current handling work
properly.
BRANCH=spring
Change-Id: Ie3111477e3614410bd96d65ad2a0b430bd240835
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58798
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
@@ -153,7 +153,7 @@ int tsu6721_init(void)
|
||||
settings = tsu6721_read(TSU6721_REG_TIMER);
|
||||
if (settings == 0xee)
|
||||
return EC_ERROR_UNKNOWN;
|
||||
settings = (settings & ~0x38) | 0x28;
|
||||
settings = (settings & ~0x38);
|
||||
res |= tsu6721_write(TSU6721_REG_TIMER, settings);
|
||||
|
||||
res |= tsu6721_set_interrupt_mask(TSU6721_INT_ATTACH |
|
||||
|
||||
Reference in New Issue
Block a user