diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2021-08-09 16:25:58 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-19 01:45:21 +0000 |
commit | 8be18be723171d018a788e005686413ee9b7293d (patch) | |
tree | d1c56930a1ee5493490442b8b15f59b8281d4033 /common | |
parent | 981c67a39da61e5e23f2889e4a6628750b0dcb2b (diff) | |
download | chrome-ec-stabilize-14163.B-main.tar.gz |
sm5803: Replace is_acok methodstabilize-14163.B-main
Since the CHARGER_MODE_SINK bit is not truly ACOK if discharging on ac.
Also the VCHGPWR will drop to zero if discharging on ac. This patch
replace is_acok method to avoid AC off while discharging on ac.
BUG=b:194990808, b:196998260
BRANCH=dedede
TEST=Make sure ectool chargecontrol discharge works.
Attached charger to make sure AC is ON.
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I7ee72da26b99c8bcb8fbd8c878c930506a244e28
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3081039
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions