Skip to content

Commit 38f5606

Browse files
RajmohanManibleungatchromium
authored andcommitted
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: Rajmohan Mani <rajmohan.mani@intel.com> Reviewed-by: Prashant Malani <pmalani@chromium.org> Link: https://lore.kernel.org/r/20210205195113.20277-2-rajmohan.mani@intel.com Signed-off-by: Benson Leung <bleung@chromium.org>
1 parent d9f12f9 commit 38f5606

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/platform/chrome/cros_ec_typec.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,6 @@ static int cros_typec_configure_mux(struct cros_typec_data *typec, int port_num,
536536
enum typec_orientation orientation;
537537
int ret;
538538

539-
if (!port->partner)
540-
return 0;
541-
542539
if (mux_flags & USB_PD_MUX_POLARITY_INVERTED)
543540
orientation = TYPEC_ORIENTATION_REVERSE;
544541
else

0 commit comments

Comments
 (0)