diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-04-29 10:29:50 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-02 05:39:59 +0000 |
commit | 6071cb1e1682796730f1f77072ae75c51b61c4f9 (patch) | |
tree | f1b966b06ebc6fcfab3ec4ecf8abbad0ac69cdbc /common/usb_pd_policy.c | |
parent | b7633ed1efef02b83b6fe7e70c28e382bbaebd86 (diff) | |
download | chrome-ec-6071cb1e1682796730f1f77072ae75c51b61c4f9.tar.gz |
TCPMv2: Store Tx type in PE state
This will be used for VDM request state for discovery. Also change
names of identity discovery timer and counter fields to comport with PD
spec.
This is substantially based on https://crrev.com/c/2148427.
BUG=none
TEST=make buildall
BRANCH=none
Change-Id: Iabda5c4cd169944a6c84bc72f551de7eb82ab424
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2174463
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'common/usb_pd_policy.c')
-rw-r--r-- | common/usb_pd_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_pd_policy.c b/common/usb_pd_policy.c index 51ed5113da..d3e0d40617 100644 --- a/common/usb_pd_policy.c +++ b/common/usb_pd_policy.c @@ -899,7 +899,7 @@ int pd_svdm(int port, int cnt, uint32_t *payload, uint32_t **rpayload, if (is_transmit_msg_sop_prime(port)) { /* Store cable type */ dfp_consume_cable_response(port, cnt, payload, - head); + head); /* * Enter USB4 mode if the cable supports USB4 |