thunderbolt: Silently ignore CLx enabling in case CLx is not supported
authorGil Fine <gil.fine@intel.com>
Thu, 26 May 2022 10:59:16 +0000 (13:59 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 6 Jun 2022 09:19:22 +0000 (12:19 +0300)
commit990f4b85d7d9bb954a24ada7145947dec501fe3d
treed454a175539d81375f7feb07be25ff3e76595693
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
thunderbolt: Silently ignore CLx enabling in case CLx is not supported

We can't enable CLx if it is not supported either by the host or device,
or by the USB4/TBT link (e.g. when an optical cable is used).
We silently ignore CLx enabling in this case.

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