aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2020-04-29 17:07:59 +0300
committerMika Westerberg <[email protected]>2020-06-22 19:58:19 +0300
commitc64c3f3ac63a101a00bd316eaba63d359e9ba215 (patch)
tree7bdf8c62b239795d5cd86ee1cd9d369084770187 /drivers/usb/cdns3/cdns3-ti.c
parent69eb79f7d294f92696de8010432758dbd3d1ecb3 (diff)
thunderbolt: Make tb_path_alloc() work with tree topologies
With USB4, topologies are not limited to daisy-chains anymore so when calculating how many hops are between two ports we need to walk the whole path instead. Add helper function tb_for_each_port_on_path() that can be used to walk over each port on a path and make tb_path_alloc() to use it. Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions