Skip to content
Commit 6667e0c4 authored by Mika Westerberg's avatar Mika Westerberg Committed by Liwei Song
Browse files

thunderbolt: Introduce tb_switch_next_cap()



commit 6de057ef upstream.

This is similar to tb_port_next_cap() but instead allows walking
capability list of a switch (router). Convert tb_switch_find_cap() and
tb_switch_find_vse_cap() to use this as well.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent 738efb27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment