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:47:51 +0000 (12:47 +0200)
commit56cba129dd11a62e522ff2afeb29ed0c95282b89
treea888136e83478997fb594a07d881c5d405f03783
parentd50a527b481574c3f8f8c16f71826f3d33b08a4f
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