summaryrefslogtreecommitdiff
path: root/include/usb_mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_mux.h')
-rw-r--r--include/usb_mux.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h
index c0e781f65d..c628cfc869 100644
--- a/include/usb_mux.h
+++ b/include/usb_mux.h
@@ -264,11 +264,9 @@ void usb_mux_set(int port, enum typec_mux mux_mode,
* Query superspeed mux status on type-C port.
*
* @param port port number.
- * @param dp_str pointer to the DP string to return.
- * @param usb_str pointer to the USB string to return.
- * @return Non-zero if superspeed connection is enabled; otherwise, zero.
+ * @return current MUX state (USB_PD_MUX_*).
*/
-int usb_mux_get(int port, const char **dp_str, const char **usb_str);
+mux_state_t usb_mux_get(int port);
/**
* Flip the superspeed muxes on type-C port.