Skip to content

Commit 6cdbf50

Browse files
aborzeszwesteri
authored andcommitted
thunderbolt: Fix typos in tb.c
Fix typos in tb.c. No functional changes. Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent cafe5dd commit 6cdbf50

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • drivers/thunderbolt

drivers/thunderbolt/tb.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ static int tb_enable_tmu(struct tb_switch *sw)
322322

323323
/*
324324
* If both routers at the end of the link are v2 we simply
325-
* enable the enhanched uni-directional mode. That covers all
325+
* enable the enhanced uni-directional mode. That covers all
326326
* the CL states. For v1 and before we need to use the normal
327327
* rate to allow CL1 (when supported). Otherwise we keep the TMU
328328
* running at the highest accuracy.
@@ -538,7 +538,7 @@ static struct tb_tunnel *tb_find_first_usb3_tunnel(struct tb *tb,
538538
* @src_port: Source protocol adapter
539539
* @dst_port: Destination protocol adapter
540540
* @port: USB4 port the consumed bandwidth is calculated
541-
* @consumed_up: Consumed upsream bandwidth (Mb/s)
541+
* @consumed_up: Consumed upstream bandwidth (Mb/s)
542542
* @consumed_down: Consumed downstream bandwidth (Mb/s)
543543
*
544544
* Calculates consumed USB3 and PCIe bandwidth at @port between path
@@ -589,7 +589,7 @@ static int tb_consumed_usb3_pcie_bandwidth(struct tb *tb,
589589
* @src_port: Source protocol adapter
590590
* @dst_port: Destination protocol adapter
591591
* @port: USB4 port the consumed bandwidth is calculated
592-
* @consumed_up: Consumed upsream bandwidth (Mb/s)
592+
* @consumed_up: Consumed upstream bandwidth (Mb/s)
593593
* @consumed_down: Consumed downstream bandwidth (Mb/s)
594594
*
595595
* Calculates consumed DP bandwidth at @port between path from @src_port
@@ -1115,7 +1115,7 @@ static int tb_configure_asym(struct tb *tb, struct tb_port *src_port,
11151115

11161116
/*
11171117
* Here requested + consumed > threshold so we need to
1118-
* transtion the link into asymmetric now.
1118+
* transition the link into asymmetric now.
11191119
*/
11201120
ret = tb_switch_set_link_width(up->sw, width_up);
11211121
if (ret) {
@@ -1936,7 +1936,7 @@ static void tb_dp_tunnel_active(struct tb_tunnel *tunnel, void *data)
19361936
*/
19371937
tb_recalc_estimated_bandwidth(tb);
19381938
/*
1939-
* In case of DP tunnel exists, change host
1939+
* In case DP tunnel exists, change host
19401940
* router's 1st children TMU mode to HiFi for
19411941
* CL0s to work.
19421942
*/
@@ -2786,8 +2786,8 @@ static void tb_handle_dp_bandwidth_request(struct work_struct *work)
27862786
* There is no request active so this means the
27872787
* BW allocation mode was enabled from graphics
27882788
* side. At this point we know that the graphics
2789-
* driver has read the DRPX capabilities so we
2790-
* can offer an better bandwidth estimatation.
2789+
* driver has read the DPRX capabilities so we
2790+
* can offer better bandwidth estimation.
27912791
*/
27922792
tb_port_dbg(in, "DPTX enabled bandwidth allocation mode, updating estimated bandwidth\n");
27932793
tb_recalc_estimated_bandwidth(tb);

0 commit comments

Comments
 (0)