thunderbolt: Disable XDomain lane 1 only in software connection manager
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 8 Sep 2022 06:45:22 +0000 (09:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:37 +0000 (07:24 +0100)
commit627ae8c6271e8bd5e5b28f95e28f55253a19f6f2
treef40e79557dd0b0c407d50f5b8178e29e7ec2d811
parentd048df8baf90c42b29480d8c23e58bd91d53074d
thunderbolt: Disable XDomain lane 1 only in software connection manager

commit 84ee211c83212f4d35b56e0603acdcc41f860f1b upstream.

When firmware connection manager is in use we should not touch the lane
adapter (well or any) configuration space so do this only when we know
that the software connection manager is active.

Fixes: 8e1de7042596 ("thunderbolt: Add support for XDomain lane bonding")
Cc: stable@vger.kernel.org
Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/xdomain.c