summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2018-09-27 14:56:06 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-03-26 04:42:43 -0700
commit7c3546ef5c8d21c5325ce2255ad44217a5ba7d7d (patch)
tree2f99a1c1f1f510eb91b66cf6e1094aca7054f720
parent901dfa10e5204bb6e45f5f70d068aeefa3ad452b (diff)
downloadchrome-ec-7c3546ef5c8d21c5325ce2255ad44217a5ba7d7d.tar.gz
usb_mux: Don't tie SBU FETs to USB MUX.
The SBU lines aren't used for the superspeed mux at all so remove the logic here. BUG=b:114340064 BRANCH=firmware-nocturne-10984.B TEST=Make sure that SBU FETs aren't touched by USB MUX settings. Change-Id: I67074d37ba1960694ad8cfbd09ea63015cedd066 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/1250027 Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Scott Collyer <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1530126 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Edward Hill <ecgh@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--driver/usb_mux.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/driver/usb_mux.c b/driver/usb_mux.c
index 2b94dede60..fd3f4381c4 100644
--- a/driver/usb_mux.c
+++ b/driver/usb_mux.c
@@ -98,14 +98,6 @@ void usb_mux_set(int port, enum typec_mux mux_mode,
usb_charger_set_switches(port, usb_mode);
#endif
-#ifdef CONFIG_USBC_PPC_SBU
- /* Make sure to disable/enable the SBU FETs if needed. */
- if (mux_mode == TYPEC_MUX_NONE)
- ppc_set_sbu(port, 0);
- else
- ppc_set_sbu(port, 1);
-#endif /* CONFIG_USBC_PPC_SBU */
-
/*
* Don't wake device up just to put it back to sleep. Low power mode
* flag is only set if the mux set() operation succeeded previously for