From: Mika Westerberg Date: Thu, 1 Apr 2021 17:16:25 +0000 (+0300) Subject: thunderbolt: Log the link as TBT instead of TBT3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0f28879cf6836f170773a9456c856e1f08f56764;p=linux.git thunderbolt: Log the link as TBT instead of TBT3 The upstream port can be connected to any previous generation Thunderbolt port so logging as "TBT" is more accurate than "TBT3. No functional changes. Signed-off-by: Mika Westerberg Reviewed-by: Greg Kroah-Hartman --- diff --git a/drivers/thunderbolt/usb4.c b/drivers/thunderbolt/usb4.c index edab8ea63c0ba..94cc25cc6388f 100644 --- a/drivers/thunderbolt/usb4.c +++ b/drivers/thunderbolt/usb4.c @@ -260,7 +260,7 @@ int usb4_switch_setup(struct tb_switch *sw) parent = tb_switch_parent(sw); downstream_port = tb_port_at(tb_route(sw), parent); sw->link_usb4 = link_is_usb4(downstream_port); - tb_sw_dbg(sw, "link: %s\n", sw->link_usb4 ? "USB4" : "TBT3"); + tb_sw_dbg(sw, "link: %s\n", sw->link_usb4 ? "USB4" : "TBT"); xhci = val & ROUTER_CS_6_HCI; tbt3 = !(val & ROUTER_CS_6_TNS);