commit | 6de057ef915f167dc6518910de3675ab061d2a50 | [log] [tgz] |
---|---|---|
author | Mika Westerberg <mika.westerberg@linux.intel.com> | Mon Jun 29 20:21:07 2020 +0300 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Thu Sep 03 12:21:07 2020 +0300 |
tree | bb6e759ca6fd908e4d8aedbc7c08dcdab9ab6105 | |
parent | 3c8b228d4371d0556d3d333d63df90172c2c7355 [diff] |
thunderbolt: Introduce tb_switch_next_cap() 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: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>