]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2024 15:11:44 +0000 (17:11 +0200)
commitc67f926ec870e96a704d7971d429d8e5c98d8f50
tree1445b0f92af94026b45e438cddef128e2089f94e
parentb0f4478838be1f1d330061201898fef65bf8fd7c
thunderbolt: Reset only non-USB4 host routers in resume

commit 8cf9926c537ce8b0c7783afebe752e084765d553 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/tb.c