thunderbolt: Set port configured for both ends of the link
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 2 Apr 2020 09:42:44 +0000 (12:42 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 3 Sep 2020 09:06:41 +0000 (12:06 +0300)
commite28178bf566cf7281b513856aa71a8d41aa81154
treea80cfb170eec85f5a2e26535d4b0e536f3cba0ec
parentde4620391786513a6971029b61663563c4b7b961
thunderbolt: Set port configured for both ends of the link

Both ends of the link needs to have this set. Otherwise the link is not
re-established properly after sleep. Now since it is possible to have
mixed USB4 and Thunderbolt 1, 2 and 3 devices we need to split the link
configuration functionality to happen per port so we can pick the
correct implementation.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/lc.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/usb4.c