Matt DeVillier has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79874?usp=email )
Change subject: soc/intel/common/tcss: Rename tcss_mux_init to disconnect_tcss_devices ......................................................................
soc/intel/common/tcss: Rename tcss_mux_init to disconnect_tcss_devices
Rename tcss_mux_init to disconnect_tcss_devices to make it clear what this function is doing, as it doesn't initialise anything.
Signed-off-by: Sean Rhodes sean@starlabs.systems Change-Id: I5e43f0cca9d49bc30fc189663490a306efd71584 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79874 Reviewed-by: Kapil Porwal kapilporwal@google.com Reviewed-by: Matt DeVillier matt.devillier@gmail.com Reviewed-by: Paul Menzel paulepanter@mailbox.org Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Subrata Banik subratabanik@google.com --- M src/soc/intel/common/block/tcss/tcss.c 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Kapil Porwal: Looks good to me, approved Subrata Banik: Looks good to me, approved Paul Menzel: Looks good to me, but someone else must approve Matt DeVillier: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 974aeb6..8080c25 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -269,7 +269,7 @@ return 0; }
-static void tcss_init_mux(int port, const struct tcss_port_map *port_map) +static void disconnect_tcss_devices(int port, const struct tcss_port_map *port_map) { int ret;
@@ -447,7 +447,7 @@
if (CONFIG(TCSS_HAS_USBC_OPS)) for (i = 0; i < num_ports; i++) - tcss_init_mux(i, &port_map[i]); + disconnect_tcss_devices(i, &port_map[i]);
/* This should be performed before alternate modes are entered */ if (tcss_ops.configure_aux_bias_pads)