thunderbolt: Check for unplugged router in tb_switch_clx_disable()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 1 Sep 2023 08:32:17 +0000 (11:32 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 13 Oct 2023 05:49:13 +0000 (08:49 +0300)
commit9e4f5b2af24297552017dd3d4db2379779701b6f
tree1b282f3c20890fb0123518e25c1b309f85f8154c
parent35c9ab4fd636aaa5a652bc5f41bc8f1cb34b93e6
thunderbolt: Check for unplugged router in tb_switch_clx_disable()

There is no point disabling CL states if the router is unplugged so in
that case return early.

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