diff options
author | Denis Brockus <dbrockus@chromium.org> | 2019-11-21 07:30:54 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-25 22:17:24 +0000 |
commit | f9fd94f64d3294c2005048164361e3697d63a7bb (patch) | |
tree | d408036789da808cc6be0d2b4b08ad9e8f6c6970 /common/usb_pd_protocol.c | |
parent | a621ea9f352a7fdd5fa41982bfc4c13f1e351f3c (diff) | |
download | chrome-ec-f9fd94f64d3294c2005048164361e3697d63a7bb.tar.gz |
usbc: make BB virtual mux retimer compatible with non-virtual
Changed the driver interface for BB virtual mux retimer to
stop using global functions and use the usb_retimers array
instead.
BUG=none
BRANCH=none
TEST=make buildall -j
Change-Id: I56befaca1720eb2f4e0599a983629b4df45dc76b
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1928121
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'common/usb_pd_protocol.c')
-rw-r--r-- | common/usb_pd_protocol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index f85efa6717..fc8b28f29f 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -393,7 +393,6 @@ int pd_is_vbus_present(int port) #endif } -#ifdef CONFIG_USBC_VIRTUAL_MUX_RETIMER /** * This function checks the current CC status of the port partner * and returns true if the attached partner is UFP. @@ -410,7 +409,6 @@ int pd_is_debug_acc(int port) return pd[port].cc_state == PD_CC_UFP_DEBUG_ACC || pd[port].cc_state == PD_CC_DFP_DEBUG_ACC; } -#endif static void set_polarity(int port, int polarity) { |