summaryrefslogtreecommitdiff
path: root/driver/usb_mux/pi3usb3x532.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/usb_mux/pi3usb3x532.c')
-rw-r--r--driver/usb_mux/pi3usb3x532.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver/usb_mux/pi3usb3x532.c b/driver/usb_mux/pi3usb3x532.c
index 7e74157d17..2435157967 100644
--- a/driver/usb_mux/pi3usb3x532.c
+++ b/driver/usb_mux/pi3usb3x532.c
@@ -84,10 +84,14 @@ static int pi3usb3x532_init(const struct usb_mux *me)
/* Writes control register to set switch mode */
static int pi3usb3x532_set_mux(const struct usb_mux *me,
- mux_state_t mux_state)
+ mux_state_t mux_state,
+ bool *ack_required)
{
uint8_t reg = 0;
+ /* This driver does not use host command ACKs */
+ *ack_required = false;
+
if (mux_state & USB_PD_MUX_USB_ENABLED)
reg |= PI3USB3X532_MODE_USB;
if (mux_state & USB_PD_MUX_DP_ENABLED)