thunderbolt: Call tb_check_quirks() after initializing adapters
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 3 Feb 2023 13:55:41 +0000 (15:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:14 +0000 (12:49 +0200)
commit516b1752fe6a9a91b3d1069d2627c3e44b7e38f3
tree59381da37d1158e410b9fa49caa9c2729b7e5fd7
parentb82c564886a01fae979b93c0d807f43c477b6844
thunderbolt: Call tb_check_quirks() after initializing adapters

commit d2d6ddf188f609861489d5d188d545856a3ed399 upstream.

In order to apply quirks based on certain adapter types move call to
tb_check_quirks() happen after the adapters are initialized. This should
not affect the existing quirks.

Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c