summaryrefslogtreecommitdiff
path: root/common/usbc/usb_tc_ctvpd_sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbc/usb_tc_ctvpd_sm.c')
-rw-r--r--common/usbc/usb_tc_ctvpd_sm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/usbc/usb_tc_ctvpd_sm.c b/common/usbc/usb_tc_ctvpd_sm.c
index 5c0e2d78cf..596f14a760 100644
--- a/common/usbc/usb_tc_ctvpd_sm.c
+++ b/common/usbc/usb_tc_ctvpd_sm.c
@@ -196,7 +196,7 @@ void tc_state_init(int port)
res = tc_restart_tcpc(port);
- CPRINTS("TCPC p%d init %s", port, res ? "failed" : "ready");
+ CPRINTS("C%d: init %s", port, res ? "failed" : "ready");
/* Disable if restart failed, otherwise start in default state. */
set_state_tc(port, res ? TC_DISABLED : TC_UNATTACHED_SNK);
@@ -278,12 +278,12 @@ static void tc_disabled_exit(const int port)
{
if (!IS_ENABLED(CONFIG_USB_PD_TCPC)) {
if (tc_restart_tcpc(port) != 0) {
- CPRINTS("TCPC p%d restart failed!", port);
+ CPRINTS("C%d: restart failed!", port);
return;
}
}
- CPRINTS("TCPC p%d resumed!", port);
+ CPRINTS("C%d: resumed!", port);
}
/**