thunderbolt: Split setting link width and lane bonding into own functions
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 13 Feb 2022 09:54:15 +0000 (11:54 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 5 May 2022 06:25:04 +0000 (09:25 +0300)
commit0e14dd5e14d697e2489c7bf0fe35947831de3975
tree241942eda03fa6a5ac5bb5aa3410a2126b5bbe8d
parent94581b25d81f8f16b48e0b61a13f81469d6e5bc0
thunderbolt: Split setting link width and lane bonding into own functions

When bonding lanes over XDomain the host that has "higher" UUID triggers
link re-train for bonding, and the host that has "lower" UUID just waits
for this to happen. To support this split setting the link width and
triggering the actual bonding a separate functions that can be called as
needed.

While there remove duplicated empty line in the kernel-doc comment of
tb_port_lane_bonding_disable().

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