summaryrefslogtreecommitdiff
path: root/board/foob
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2021-03-31 11:33:43 -0700
committerCommit Bot <commit-bot@chromium.org>2021-04-21 17:59:14 +0000
commitdec4d9ddfd30a978b0ddb2fe95d68f00b61e31ee (patch)
treef4598399f2b7018d279369c48f0bc2384074ea3c /board/foob
parentf79ac11c5d3e0b79f1012eaf97d201706ec80c23 (diff)
downloadchrome-ec-dec4d9ddfd30a978b0ddb2fe95d68f00b61e31ee.tar.gz
TCPMv2: PE: Clear PRS request following acceptfactory-13929.B-main
This CL adds logic to clear any pending DPM_REQUEST_PR_SWAP once we accept a PRS request from the port partner. This prevents a possible back to back swap if we want to PRS, but the port partner sends the request before PRS swap request is generated. BUG=b:182441965 BRANCH=quiche TEST=tested quiche with kohaku where quiche attaches in sink role. This case causes quiche to want to power role swap and causes the port partner to request a power role swap. Verified that only 1 power role swap occurs. Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: I05ee27897d5900e71257d268acd3bd37c8abb787 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2799450 Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/foob')
0 files changed, 0 insertions, 0 deletions