]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
thunderbolt: Fix typos in switch.c
authorAlan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Tue, 2 Sep 2025 14:38:42 +0000 (16:38 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 17 Nov 2025 07:24:23 +0000 (08:24 +0100)
Fix typos in switch.c. No functional changes.

Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c

index 0e07904aa73b45c992ffdaf11cab6437bd3089d2..b3948aad0b9551c37d65c50015e3a0e5ea31b00d 100644 (file)
@@ -736,9 +736,9 @@ static int tb_init_port(struct tb_port *port)
                        port->cap_usb4 = cap;
 
                /*
-                * USB4 ports the buffers allocated for the control path
+                * USB4 port buffers allocated for the control path
                 * can be read from the path config space. Legacy
-                * devices we use hard-coded value.
+                * devices use hard-coded value.
                 */
                if (port->cap_usb4) {
                        struct tb_regs_hop hop;
@@ -3221,7 +3221,7 @@ int tb_switch_configure_link(struct tb_switch *sw)
  * @sw: Switch whose link is unconfigured
  *
  * Sets the link unconfigured so the @sw will be disconnected if the
- * domain exists sleep.
+ * domain exits sleep.
  */
 void tb_switch_unconfigure_link(struct tb_switch *sw)
 {