thunderbolt: Disable CL states only when actually needed
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 17 Nov 2023 10:58:39 +0000 (12:58 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 14 Dec 2023 06:07:45 +0000 (08:07 +0200)
commit09dc766bd60b7bc6a2742aaf2410e434f458893c
treebc4602bf6b929078902e5757a3f6820d03b8e9e0
parent3c052ec6f4f866163573445a02d60b629805a6e7
thunderbolt: Disable CL states only when actually needed

If there is not going to be an actual transition to asymmetric or
symmetric, there is no point to disable and re-enable CL states either.
So instead disable them only when we know that an actual transition is
going to take place.

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