]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thunderbolt: Don't access path config space on Lane 1 adapters in tb_switch_reset_host()
authorPooja Katiyar <pooja.katiyar@intel.com>
Thu, 7 May 2026 21:46:30 +0000 (14:46 -0700)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 20 May 2026 09:54:34 +0000 (11:54 +0200)
commit95c4379e37a0abea72dfd389cfe2c54452523690
treef7666d02d6521050820037f4972326fc9bab2030
parentafe9021d63b46233f5c87d52b820fa26e7f562cd
thunderbolt: Don't access path config space on Lane 1 adapters in tb_switch_reset_host()

USB4 Lane 1 adapters do not have accessible path config space. Skip the
path config space cleanup in tb_switch_reset_host() for these ports. The
check is for USB4 switches only. Thunderbolt 1-3 Lane 1 adapters stay as
is because we do need to program their path config space.

Co-developed-by: Rene Sapiens <rene.sapiens@linux.intel.com>
Signed-off-by: Rene Sapiens <rene.sapiens@linux.intel.com>
Signed-off-by: Pooja Katiyar <pooja.katiyar@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c