diff options
author | Diana Z <dzigterman@chromium.org> | 2019-05-31 15:36:37 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-18 03:26:53 +0000 |
commit | 5a3365d52885e8d37954442f0b8ea3268f6e2443 (patch) | |
tree | 05a87d0830d90a53caea5b37ade0c2a4c0d225d3 /include/cros_board_info.h | |
parent | 3e2a2fd797fa61e7c8783c0cd03da56164a96932 (diff) | |
download | chrome-ec-5a3365d52885e8d37954442f0b8ea3268f6e2443.tar.gz |
USB PD: Only maintain contracts over sysjump when sinking
Currently, the pd_task will attempt to maintain both source and sink
contracts after an unlocked sysjump or unlocked EC reset. However, the
pd_task will disable Vbus to any partners it was sourcing, causing the
soft reset process to lead to a hard reset and disconnection.
Since the port partner will be without Vbus and unable to respond, treat
the contract as terminated and the port as the default state.
BUG=b:132110509
BRANCH=octopus
TEST=unlocked sysjumps with a display port dongle and hoho to ensure
they were treated as disconnected, unlocked sysjumps with charger to
ensure it was soft reset
Change-Id: Ie477f393ea828a4e880c8e8ccbe72539e8be721a
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1639212
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1693156
Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
Tested-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'include/cros_board_info.h')
0 files changed, 0 insertions, 0 deletions