summaryrefslogtreecommitdiff
path: root/driver/usb_mux/amd_fp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/usb_mux/amd_fp6.c')
-rw-r--r--driver/usb_mux/amd_fp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/usb_mux/amd_fp6.c b/driver/usb_mux/amd_fp6.c
index a776a696f7..ff3b6eacb8 100644
--- a/driver/usb_mux/amd_fp6.c
+++ b/driver/usb_mux/amd_fp6.c
@@ -142,7 +142,7 @@ static int amd_fp6_set_mux(const struct usb_mux *me, mux_state_t mux_state,
*ack_required = false;
/* This driver treats safe mode as none */
- if (mux_state == USB_PD_MUX_SAFE_MODE)
+ if (mux_state & USB_PD_MUX_SAFE_MODE)
mux_state = USB_PD_MUX_NONE;
if (mux_state == USB_PD_MUX_NONE)