thunderbolt: Add device links only when software connection manager is used
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 24 May 2021 14:57:32 +0000 (17:57 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 11 Jun 2021 08:42:54 +0000 (11:42 +0300)
commit349bfe089d02f18b05ed2c386eeb248a0be49641
tree6ff93b4b351b16c3ad9149be329954c085b58870
parenta0d36fa1065901f939b04587a09c65303a64ac88
thunderbolt: Add device links only when software connection manager is used

We only need to set up the device links when software connection manager
path is used. The firmware connection manager does not need them and if
they are present they may even cause problems.

Reviewed-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nhi.c
drivers/thunderbolt/tb.c