summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2020-02-03 13:38:36 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-04 14:05:26 +0000
commit514f527666d43fd76460f66bfce1b332763850b2 (patch)
treeab67f5d9460f1b2639a443da9d6d8eee9d717875
parent79ec40ac7060bb1f7a12aa53f0222dba74f3c521 (diff)
downloadchrome-ec-514f527666d43fd76460f66bfce1b332763850b2.tar.gz
TCPMv2: Remove tcpm_init from usb_prl state machine
The tc state machine configures the ss mux and then starts the usb_prl state machine and when usb_prl starts, it calls tcpm_init, resulting the ss mux being disabled. BUG=b:147255678 BUG=chromium:1046851 BRANCH=none TEST=make -j buildall manual: plugged in USB3 Patriate USB drive and lsusb -v. Result was bcdUSB 3.10 Change-Id: I8510979739cac47098af48f46eae9e429f7502d0 Signed-off-by: Sam Hurst <shurst@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2036592 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--common/usbc/usb_prl_sm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/usbc/usb_prl_sm.c b/common/usbc/usb_prl_sm.c
index 174746a70d..0b2e43c36f 100644
--- a/common/usbc/usb_prl_sm.c
+++ b/common/usbc/usb_prl_sm.c
@@ -468,7 +468,6 @@ static void prl_tx_phy_layer_reset_entry(const int port)
|| IS_ENABLED(CONFIG_USB_TYPEC_VPD)) {
vpd_rx_enable(1);
} else {
- tcpm_init(port);
tcpm_clear_pending_messages(port);
tcpm_set_rx_enable(port, 1);
}