Unverified Commit 38f56061 authored by Rajmohan Mani's avatar Rajmohan Mani Committed by Benson Leung
Browse files

platform/chrome: cros_ec_typec: Skip port partner check in configure_mux()



For certain needs like updating the USB4 retimer firmware when no
device are connected, the Type-C ports require mux configuration,
to be able to communicate with the retimer. So removed the above
check to allow for mux configuration of Type-C ports, to enable
retimer communication.

Signed-off-by: default avatarRajmohan Mani <rajmohan.mani@intel.com>
Reviewed-by: default avatarPrashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20210205195113.20277-2-rajmohan.mani@intel.com


Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
parent d9f12f9e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -536,9 +536,6 @@ static int cros_typec_configure_mux(struct cros_typec_data *typec, int port_num,
	enum typec_orientation orientation;
	int ret;

	if (!port->partner)
		return 0;

	if (mux_flags & USB_PD_MUX_POLARITY_INVERTED)
		orientation = TYPEC_ORIENTATION_REVERSE;
	else