thunderbolt: Skip discovery also in USB4 v2 host
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 2 Feb 2024 14:38:19 +0000 (16:38 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 13 Feb 2024 09:08:36 +0000 (11:08 +0200)
commit6faa39eea95372e9f235ab8280fa512618655f26
tree916a41e334b97df9ca25fc558747f619f05891c2
parent8cf9926c537ce8b0c7783afebe752e084765d553
thunderbolt: Skip discovery also in USB4 v2 host

If the host router is reset, there is no point running discovery as the
links are down. Furthermore this prevents CL-state enabling. For this
reason skip discovery in USB4 v2 host the same way we do with USB4 v1.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nhi.c
drivers/thunderbolt/tb.c