From 7c3546ef5c8d21c5325ce2255ad44217a5ba7d7d Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Thu, 27 Sep 2018 14:56:06 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1250027 Commit-Queue: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Scott Collyer Reviewed-on: https://chromium-review.googlesource.com/1530126 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Edward Hill Reviewed-by: Aseda Aboagye --- driver/usb_mux.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'driver') 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 -- cgit v1.2.1