thunderbolt: Initialize CL states from the hardware
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 24 May 2023 10:33:57 +0000 (13:33 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Jun 2023 09:07:24 +0000 (12:07 +0300)
commit768e6fe69fde546beb942344c4c4932f3b3bb55b
treed747dd9d626439ffddf629f03622e7418a85071d
parentb5d15961d95565934109b4cc53f50c3f5caf0d80
thunderbolt: Initialize CL states from the hardware

In case the boot firmware enabled any of them, read the currently
configured CL states and update the router structure accordingly.

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