Skip to content

Commit 9527d0c

Browse files
aborzeszwesteri
authored andcommitted
thunderbolt: Fix typos in usb4.c
Fix typos in usb4.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 c3d5300 commit 9527d0c

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

drivers/thunderbolt/usb4.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ int usb4_switch_setup(struct tb_switch *sw)
284284
val |= ROUTER_CS_5_PTO;
285285
/*
286286
* xHCI can be enabled if PCIe tunneling is supported
287-
* and the parent does not have any USB3 dowstream
287+
* and the parent does not have any USB3 downstream
288288
* adapters (so we cannot do USB 3.x tunneling).
289289
*/
290290
if (xhci)
@@ -1342,7 +1342,7 @@ static int usb4_port_write_data(struct tb_port *port, const void *data,
13421342
* usb4_port_sb_read() - Read from sideband register
13431343
* @port: USB4 port to read
13441344
* @target: Sideband target
1345-
* @index: Retimer index if taget is %USB4_SB_TARGET_RETIMER
1345+
* @index: Retimer index if target is %USB4_SB_TARGET_RETIMER
13461346
* @reg: Sideband register index
13471347
* @buf: Buffer where the sideband data is copied
13481348
* @size: Size of @buf
@@ -1395,7 +1395,7 @@ int usb4_port_sb_read(struct tb_port *port, enum usb4_sb_target target, u8 index
13951395
* usb4_port_sb_write() - Write to sideband register
13961396
* @port: USB4 port to write
13971397
* @target: Sideband target
1398-
* @index: Retimer index if taget is %USB4_SB_TARGET_RETIMER
1398+
* @index: Retimer index if target is %USB4_SB_TARGET_RETIMER
13991399
* @reg: Sideband register index
14001400
* @buf: Data to write
14011401
* @size: Size of @buf
@@ -1527,7 +1527,7 @@ int usb4_port_router_offline(struct tb_port *port)
15271527
}
15281528

15291529
/**
1530-
* usb4_port_router_online() - Put the USB4 port back to online
1530+
* usb4_port_router_online() - Put the USB4 port back online
15311531
* @port: USB4 port
15321532
*
15331533
* Makes the USB4 port functional again.
@@ -1692,10 +1692,10 @@ int usb4_port_asym_start(struct tb_port *port)
16921692
}
16931693

16941694
/**
1695-
* usb4_port_margining_caps() - Read USB4 port marginig capabilities
1695+
* usb4_port_margining_caps() - Read USB4 port margining capabilities
16961696
* @port: USB4 port
16971697
* @target: Sideband target
1698-
* @index: Retimer index if taget is %USB4_SB_TARGET_RETIMER
1698+
* @index: Retimer index if target is %USB4_SB_TARGET_RETIMER
16991699
* @caps: Array with at least two elements to hold the results
17001700
* @ncaps: Number of elements in the caps array
17011701
*
@@ -1721,7 +1721,7 @@ int usb4_port_margining_caps(struct tb_port *port, enum usb4_sb_target target,
17211721
* usb4_port_hw_margin() - Run hardware lane margining on port
17221722
* @port: USB4 port
17231723
* @target: Sideband target
1724-
* @index: Retimer index if taget is %USB4_SB_TARGET_RETIMER
1724+
* @index: Retimer index if target is %USB4_SB_TARGET_RETIMER
17251725
* @params: Parameters for USB4 hardware margining
17261726
* @results: Array to hold the results
17271727
* @nresults: Number of elements in the results array
@@ -1769,7 +1769,7 @@ int usb4_port_hw_margin(struct tb_port *port, enum usb4_sb_target target,
17691769
* usb4_port_sw_margin() - Run software lane margining on port
17701770
* @port: USB4 port
17711771
* @target: Sideband target
1772-
* @index: Retimer index if taget is %USB4_SB_TARGET_RETIMER
1772+
* @index: Retimer index if target is %USB4_SB_TARGET_RETIMER
17731773
* @params: Parameters for USB4 software margining
17741774
* @results: Data word for the operation completion data
17751775
*
@@ -1819,7 +1819,7 @@ int usb4_port_sw_margin(struct tb_port *port, enum usb4_sb_target target,
18191819
* usb4_port_sw_margin_errors() - Read the software margining error counters
18201820
* @port: USB4 port
18211821
* @target: Sideband target
1822-
* @index: Retimer index if taget is %USB4_SB_TARGET_RETIMER
1822+
* @index: Retimer index if target is %USB4_SB_TARGET_RETIMER
18231823
* @errors: Error metadata is copied here.
18241824
*
18251825
* This reads back the software margining error counters from the port.
@@ -1853,7 +1853,7 @@ static inline int usb4_port_retimer_op(struct tb_port *port, u8 index,
18531853
* @port: USB4 port
18541854
* @index: Retimer index
18551855
*
1856-
* Enables sideband channel transations on SBTX. Can be used when USB4
1856+
* Enables sideband channel transactions on SBTX. Can be used when USB4
18571857
* link does not go up, for example if there is no device connected.
18581858
*
18591859
* Return: %0 on success, negative errno otherwise.
@@ -1882,7 +1882,7 @@ int usb4_port_retimer_set_inbound_sbtx(struct tb_port *port, u8 index)
18821882
* @port: USB4 port
18831883
* @index: Retimer index
18841884
*
1885-
* Disables sideband channel transations on SBTX. The reverse of
1885+
* Disables sideband channel transactions on SBTX. The reverse of
18861886
* usb4_port_retimer_set_inbound_sbtx().
18871887
*
18881888
* Return: %0 on success, negative errno otherwise.
@@ -1981,7 +1981,7 @@ int usb4_port_retimer_nvm_sector_size(struct tb_port *port, u8 index)
19811981
* @index: Retimer index
19821982
* @address: Start offset
19831983
*
1984-
* Exlicitly sets NVM write offset. Normally when writing to NVM this is
1984+
* Explicitly sets NVM write offset. Normally when writing to NVM this is
19851985
* done automatically by usb4_port_retimer_nvm_write().
19861986
*
19871987
* Return: %0 on success, negative errno otherwise.
@@ -2190,7 +2190,7 @@ usb4_usb3_port_max_bandwidth(const struct tb_port *port, unsigned int bw)
21902190
}
21912191

21922192
/**
2193-
* usb4_usb3_port_max_link_rate() - Maximum support USB3 link rate
2193+
* usb4_usb3_port_max_link_rate() - Maximum supported USB3 link rate
21942194
* @port: USB3 adapter port
21952195
*
21962196
* Return: Maximum supported link rate of a USB3 adapter in Mb/s.

0 commit comments

Comments
 (0)