thunderbolt: Configure link after lane bonding is enabled
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 2 Apr 2020 11:50:52 +0000 (14:50 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 3 Sep 2020 09:06:41 +0000 (12:06 +0300)
commitde4620391786513a6971029b61663563c4b7b961
treee952bac77413ea9ad271df75f03ab46795323ad0
parent5cb6ed31c5d51a4b360ae8aa69fc2457723db27a
thunderbolt: Configure link after lane bonding is enabled

During testing it was noticed that the link is not properly restored
after the domain exits sleep if the link configured bits are set before
lane bonding is enabled. The USB4 spec does not say in which order these
need to be set but setting link configured afterwards makes the link
restoration work so we do that instead.

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