diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-01-20 14:45:46 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-21 06:44:26 +0000 |
commit | 3075113c856dc0c26325a7e5ff9d8ed7f9658b4d (patch) | |
tree | 3a6f8b05719ee61330e01cdf61433c20798ed624 /board/twinkie | |
parent | 9e07dfb6cb7391844dfd56ba856b30329318f05e (diff) | |
download | chrome-ec-3075113c856dc0c26325a7e5ff9d8ed7f9658b4d.tar.gz |
pd: Clear type-c charge_manager supplier when VBUS disappears
When VBUS is initially present, we set a type-c charge_manager supplier.
Therefore, when we clear our VBUS present flag, we also need to zero our
supplier.
BUG=None
TEST=Manual on Samus. Quickly plug + unplug SDP charger, verify that pd
correctly detects that no charger is present on the board.
BRANCH=Samus
Change-Id: Ie72503f8a9b0f749b7529cfd6ff0675bd5640257
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/242092
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/twinkie')
-rw-r--r-- | board/twinkie/build.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/twinkie/build.mk b/board/twinkie/build.mk index f9b5e7d973..ca503a7095 100644 --- a/board/twinkie/build.mk +++ b/board/twinkie/build.mk @@ -10,6 +10,5 @@ CHIP:=stm32 CHIP_FAMILY:=stm32f0 CHIP_VARIANT:=stm32f07x -board-y=board.o +board-y=board.o usb_pd_policy.o board-$(HAS_TASK_SNIFFER)+=sniffer.o injector.o -board-$(HAS_TASK_PD)+=usb_pd_policy.o |