thunderbolt: Create multiple DisplayPort tunnels if there are more DP IN/OUT pairs
authorGil Fine <gil.fine@linux.intel.com>
Tue, 22 Aug 2023 15:01:12 +0000 (18:01 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 13 Oct 2023 05:49:13 +0000 (08:49 +0300)
commit8648c6465c025c488e2855c209c0dea1a1a15184
tree54a51984546ccb81d22ec9be4950212078ad52b6
parentd80d926c5b6bcbcf7639b55caa38f3df7d978d0d
thunderbolt: Create multiple DisplayPort tunnels if there are more DP IN/OUT pairs

Currently we only create one DisplayPort tunnel even if there would be
more DP IN/OUT pairs available. Specifically this happens when a router
is unplugged and we check if a new DisplayPort tunnel can be created. To
cover this create tunnels as long as we find suitable DP IN/OUT pairs.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c