diff options
author | Diana Z <dzigterman@chromium.org> | 2021-04-12 13:37:29 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-13 20:12:27 +0000 |
commit | fdea1a4e10b6f52aad7cb48a82bd64a94eb1f69f (patch) | |
tree | 49c2d4097ec1ff62ae683f876b6aee9df9271fdc /test/timer_calib.c | |
parent | 50c844cebd1b4ed18da981ee4c1e6b7dab0baddf (diff) | |
download | chrome-ec-fdea1a4e10b6f52aad7cb48a82bd64a94eb1f69f.tar.gz |
TCPMv2: Update source PDO flags always
Always ensure we update our source PDO flags when storing partner source
cap replies during PE_SNK_Evaluate_Capability. However, only propose a
power role swap the first time we're storing source capabilities to
prevent infinite PR swap loops between Chromebooks.
BRANCH=volteer
BUG=b:184971310
TEST=ensure connection with a DRP partner results in correct setting of
dual role flags (dual-role for anything we don't want to automatically
charge from, dedicated for anything we do want to automatically charge
from).
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ida139af43fb384096b14e686cf5bd6bbfdf16aa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2821602
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test/timer_calib.c')
0 files changed, 0 insertions, 0 deletions