]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thunderbolt: Set tb->root_switch to NULL when domain is stopped
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 19 Nov 2025 10:49:30 +0000 (12:49 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 5 May 2026 11:53:46 +0000 (13:53 +0200)
commite56249d8a68e712f3b60e1f3fdbb5b4fea146468
treef6d37dc52e4876ddaa5927b9f78bc000e5f110c8
parent4c63f29872cb444b33665348bbd2f45cab06afcd
thunderbolt: Set tb->root_switch to NULL when domain is stopped

Similarly what we do with the firmware connection manager. This makes
tb_xdp_handle_request() return error to the remote host. However, we
need to make sure we keep the uuid alive so that we can reply until the
whole domain is released.

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