thunderbolt: Reset only non-USB4 host routers in resume
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 31 Jan 2024 09:12:59 +0000 (11:12 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 13 Feb 2024 09:08:36 +0000 (11:08 +0200)
commit8cf9926c537ce8b0c7783afebe752e084765d553
tree358b9a721173e6ecc41dedb25f59b297ba379c76
parentdec6a613574cd3dea799170b7aaa8fd76e22f176
thunderbolt: Reset only non-USB4 host routers in resume

There is no need to reset the USB4 host routers on resume because they
are reset already and this may cause problems if the link does not come
up soon enough. For this reason limit this to happen in non-USB4 host
routers only (that's Apple systems with Intel Thunderbolt controllers).

Fixes: 59a54c5f3dbd ("thunderbolt: Reset topology created by the boot firmware")
Cc: Sanath S <Sanath.S@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.c