]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
thunderbolt: Add helper function to iterate from one port to another
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 19 Feb 2017 19:51:30 +0000 (21:51 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:52 +0000 (11:18 +0300)
commitfb19fac1d734504073fee64e9f9b28ccd41ab350
tree2e7be03e98a958f4d27797730caf5f8673883cf3
parentdfe40ca486f60dca1e3223d82acf78cfb39925b8
thunderbolt: Add helper function to iterate from one port to another

We need to be able to walk from one port to another when we are creating
paths where there are multiple switches between two ports. For this
reason introduce a new function tb_next_port_on_path().

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h