From 6071cb1e1682796730f1f77072ae75c51b61c4f9 Mon Sep 17 00:00:00 2001 From: Abe Levkoy Date: Wed, 29 Apr 2020 10:29:50 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2174463 Reviewed-by: Diana Z --- common/usb_pd_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/usb_pd_policy.c') 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 -- cgit v1.2.1