diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-02-03 12:24:00 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-03 23:26:21 +0000 |
commit | 9590a539206ab783c0a453b8d74e3f02ee157e77 (patch) | |
tree | 6acb496c804cd3cd6a09d16b92c41fb40b91c982 | |
parent | fd9dd63e5c9cb76692501280dcb09a31f3154b12 (diff) | |
download | chrome-ec-9590a539206ab783c0a453b8d74e3f02ee157e77.tar.gz |
samus: enable learn mode when INA is wedged
When INA doesn't have power, in order to unwedge it properly,
we need to disable charing AND enable learn mode to disable the
BQ. Without turning on learn mode, the BQ can backboost and
cause ACOK to remain high.
BUG=chrome-os-partner:36081
BRANCH=samus
TEST=load on a samus and test getting the INA wedged using
"charger voltage 7000" and make sure it recovers all the time.
Change-Id: Icc4c508f9db1210e2384cb741a33f50afee191e7
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/245841
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r-- | board/samus/extpower.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/samus/extpower.c b/board/samus/extpower.c index 51cf5454e8..8fb397f0cb 100644 --- a/board/samus/extpower.c +++ b/board/samus/extpower.c @@ -223,6 +223,7 @@ static void check_charge_wedged(void) */ if (prochot_status) { host_command_pd_send_status(PD_CHARGE_NONE); + charger_disable(1); charge_circuit_state = CHARGE_CIRCUIT_WEDGED; CPRINTS("Charge circuit wedged!"); } |