summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-01-10 15:46:15 +0000
committerMatt DeVillier <matt.devillier@gmail.com>2024-02-15 19:43:14 +0000
commit04afc530dfa7a8d81d8f514faf35ecbe6cee61c7 (patch)
treef6d188019ba166a779e6b9909d1e61bb101edcac /src
parentb7804fd42438087c24e1f31c125c234c56d6e0c7 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/tcss/tcss.c4
1 files 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)