thunderbolt: Set lane bonding bit only for downstream port
authorGil Fine <gil.fine@linux.intel.com>
Tue, 7 Nov 2023 10:22:40 +0000 (12:22 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 17 Nov 2023 11:05:57 +0000 (13:05 +0200)
commit24d85bb3be373b5831699bddf698b392bd2b904d
tree88971c58e5d26b77b1bbad90b33f2c767f894933
parentb85ea95d086471afb4ad062012a4d73cd328fa86
thunderbolt: Set lane bonding bit only for downstream port

Fix the lane bonding procedure to follow the steps described in USB4
Connection Manager guide. Hence, set the lane bonding bit only for
downstream port. This is needed for certain ASMedia device, otherwise
lane bonding fails and the device disconnects.

Cc: stable@vger.kernel.org
Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c