From 04afc530dfa7a8d81d8f514faf35ecbe6cee61c7 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 10 Jan 2024 15:46:15 +0000 Subject: [PATCH] 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 Change-Id: I5e43f0cca9d49bc30fc189663490a306efd71584 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79874 Reviewed-by: Kapil Porwal Reviewed-by: Matt DeVillier Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/common/block/tcss/tcss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 974aeb625a..8080c25fce 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -269,7 +269,7 @@ static int send_pmc_dp_mode_request(int port, const struct usbc_mux_info *mux_da 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 @@ void tcss_configure(const struct typec_aux_bias_pads aux_bias_pads[MAX_TYPE_C_PO 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)