diff options
-rw-r--r-- | driver/usb_mux/usb_mux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/usb_mux/usb_mux.c b/driver/usb_mux/usb_mux.c index 73c8a165bf..8029fd6fe6 100644 --- a/driver/usb_mux/usb_mux.c +++ b/driver/usb_mux/usb_mux.c @@ -515,7 +515,8 @@ static void perform_mux_set(int port, int index, mux_state_t mux_mode, return; /* Configure superspeed lanes */ - mux_state = ((mux_mode != USB_PD_MUX_NONE) && polarity) ? + mux_state = ((mux_mode != USB_PD_MUX_NONE) && + (mux_mode != USB_PD_MUX_SAFE_MODE) && polarity) ? mux_mode | USB_PD_MUX_POLARITY_INVERTED : mux_mode; |