Skip to content

Commit 2a0ed2d

Browse files
Gil Finewesteri
authored andcommitted
thunderbolt: Fix kernel-doc for tb_tunnel_alloc_dp()
In case of no bandwidth available for DP tunnel, the function get the arguments @max_up and @max_down set to zero. Fix the kernel-doc to describe more accurately the purpose of the function. No functional changes. Signed-off-by: Gil Fine <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
1 parent 61684c0 commit 2a0ed2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/thunderbolt/tunnel.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,10 +1435,10 @@ struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in,
14351435
* @in: DP in adapter port
14361436
* @out: DP out adapter port
14371437
* @link_nr: Preferred lane adapter when the link is not bonded
1438-
* @max_up: Maximum available upstream bandwidth for the DP tunnel (%0
1439-
* if not limited)
1440-
* @max_down: Maximum available downstream bandwidth for the DP tunnel
1441-
* (%0 if not limited)
1438+
* @max_up: Maximum available upstream bandwidth for the DP tunnel.
1439+
* %0 if no available bandwidth.
1440+
* @max_down: Maximum available downstream bandwidth for the DP tunnel.
1441+
* %0 if no available bandwidth.
14421442
*
14431443
* Allocates a tunnel between @in and @out that is capable of tunneling
14441444
* Display Port traffic.

0 commit comments

Comments
 (0)