thunderbolt: Transition link to asymmetric only when both sides support it
authorGil Fine <gil.fine@linux.intel.com>
Wed, 15 Nov 2023 10:09:53 +0000 (12:09 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 14 Dec 2023 06:07:45 +0000 (08:07 +0200)
commit3c052ec6f4f866163573445a02d60b629805a6e7
tree92d859b560adbfda1ecc6dc98abb154f4b4782c6
parentea20adddd6c154e9e107c47fbf1b4697e68180df
thunderbolt: Transition link to asymmetric only when both sides support it

We can transition Gen 4 link to asymmetric only when both sides of the
link support it in the required direction. For this reason make sure
that the downstream adapter also supports asymmetric link before
starting the transition.

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