diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-01-07 17:14:10 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-08 04:02:54 +0000 |
commit | 8cb5584458d9ad6618fb88dfe5baf879296a4b8c (patch) | |
tree | 098d18b3788db566c4561f87811864f3544c975c | |
parent | 4ab20ee15f0b18432004b606d6bec1768076a0b9 (diff) | |
download | chrome-ec-8cb5584458d9ad6618fb88dfe5baf879296a4b8c.tar.gz |
pd: remove clearing of type-c current limit in hard reset
Remove clearing of the type-C pull-up supplier current limit
on hard reset. Hard reset is a PD command and should clear the
PD supplier current limit, but the type-C pull-up is independent
and is still connected, so should not reset.
BUG=none
BRANCH=samus
TEST=load on samus and plug in donette. without this CL, the
charging icon flashes off then on. with this CL, it doesn't flash
and still draws 3A.
Change-Id: I90f87f3970754ca3618d87466412c97acc0a4d6f
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/239269
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | common/usb_pd_protocol.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index 225a9c1c8a..fbf45b2993 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -791,7 +791,6 @@ static void execute_hard_reset(int port) /* Clear the input current limit */ pd_set_input_current_limit(port, 0, 0); #ifdef CONFIG_CHARGE_MANAGER - typec_set_input_current_limit(port, 0, 0); charge_manager_set_ceil(port, CHARGE_CEIL_NONE); #endif /* CONFIG_CHARGE_MANAGER */ |