@@ -301,7 +301,7 @@ static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable)
301301 struct tb_port * port = tb_upstream_port (tunnel -> dst_port -> sw );
302302 int ret ;
303303
304- /* Only supported of both routers are at least USB4 v2 */
304+ /* Only supported if both routers are at least USB4 v2 */
305305 if ((usb4_switch_version (tunnel -> src_port -> sw ) < 2 ) ||
306306 (usb4_switch_version (tunnel -> dst_port -> sw ) < 2 ))
307307 return 0 ;
@@ -1170,8 +1170,8 @@ static int tb_dp_bandwidth_mode_maximum_bandwidth(struct tb_tunnel *tunnel,
11701170
11711171 /*
11721172 * DP IN adapter DP_LOCAL_CAP gets updated to the lowest AUX
1173- * read parameter values so this so we can use this to determine
1174- * the maximum possible bandwidth over this link.
1173+ * read parameter values so we can use this to determine the
1174+ * maximum possible bandwidth over this link.
11751175 *
11761176 * See USB4 v2 spec 1.0 10.4.4.5.
11771177 */
@@ -1783,8 +1783,8 @@ static int tb_dma_init_rx_path(struct tb_path *path, unsigned int credits)
17831783
17841784 /*
17851785 * First lane adapter is the one connected to the remote host.
1786- * We don't tunnel other traffic over this link so can use all
1787- * the credits (except the ones reserved for control traffic).
1786+ * We don't tunnel other traffic over this link so we can use
1787+ * all the credits (except the ones reserved for control traffic).
17881788 */
17891789 hop = & path -> hops [0 ];
17901790 tmp = min (tb_usable_credits (hop -> in_port ), credits );
@@ -2044,7 +2044,7 @@ static int tb_usb3_consumed_bandwidth(struct tb_tunnel *tunnel,
20442044
20452045 /*
20462046 * PCIe tunneling, if enabled, affects the USB3 bandwidth so
2047- * take that it into account here.
2047+ * take that into account here.
20482048 */
20492049 * consumed_up = tunnel -> allocated_up *
20502050 (TB_USB3_WEIGHT + pcie_weight ) / TB_USB3_WEIGHT ;
@@ -2605,7 +2605,7 @@ int tb_tunnel_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up,
26052605 * @tunnel: Tunnel whose unused bandwidth to release
26062606 *
26072607 * If tunnel supports dynamic bandwidth management (USB3 tunnels at the
2608- * moment) this function makes it to release all the unused bandwidth.
2608+ * moment) this function makes it release all the unused bandwidth.
26092609 *
26102610 * Return: %0 on success, negative errno otherwise.
26112611 */
0 commit comments