diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-12-28 12:47:02 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-03-18 18:25:32 +0300 |
commit | e23a5afd013c15909169c56751f8d7dac67a68eb (patch) | |
tree | fbe7b311aed4066b1ef70c8254e8f6104a261359 /drivers/thunderbolt/eeprom.c | |
parent | 5adab6cc45c448dd329fceec9aca4f4d4c0559c5 (diff) | |
download | linux-e23a5afd013c15909169c56751f8d7dac67a68eb.tar.gz linux-e23a5afd013c15909169c56751f8d7dac67a68eb.tar.bz2 linux-e23a5afd013c15909169c56751f8d7dac67a68eb.zip |
thunderbolt: Check quirks in tb_switch_add()
This makes it more visible on the main path of adding router.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/eeprom.c')
-rw-r--r-- | drivers/thunderbolt/eeprom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c index dd03d3096653..aecb0b9f0c75 100644 --- a/drivers/thunderbolt/eeprom.c +++ b/drivers/thunderbolt/eeprom.c @@ -610,7 +610,6 @@ parse: sw->uid = header->uid; sw->vendor = header->vendor_id; sw->device = header->model_id; - tb_check_quirks(sw); crc = tb_crc32(sw->drom + TB_DROM_DATA_START, header->data_len); if (crc != header->data_crc32) { |